Skip to content

Commit a9e984a

Browse files
authored
Merge pull request Ada-C12#36 from AdaGold/kaida/skip-model-tests
Skip the model tests
2 parents 6091500 + d18efb0 commit a9e984a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

jest.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ module.exports = {
2727
coverageDirectory: "coverage",
2828

2929
// An array of regexp pattern strings used to skip coverage collection
30-
// coveragePathIgnorePatterns: [
31-
// "/node_modules/"
32-
// ],
30+
coveragePathIgnorePatterns: [
31+
"/node_modules/",
32+
"/test/demo/",
33+
"/src/demo/"
34+
],
3335

3436
// A list of reporter names that Jest uses when writing coverage reports
3537
// coverageReporters: [

test/demo/model.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Model from 'demo/model';
22
import Adagrams from 'demo/adagrams';
33

4-
describe('Game Model', () => {
4+
describe.skip('Game Model', () => {
55
const config = {
66
players: [
77
'Player A',

0 commit comments

Comments
 (0)