Skip to content

Commit

Permalink
update jest ignore rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrichardson committed Dec 2, 2018
1 parent 7f5dd20 commit 338cfd2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions package.json
Expand Up @@ -28,14 +28,6 @@
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/tests/**/*",
"!src/interfaces/**/*",
"!src/index.*",
"!src/**/hash.*",
"!src/**/typenames.*"
],
"testRegex": "(src/.*(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
Expand All @@ -44,7 +36,11 @@
"jsx",
"json",
"node"
]
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.{ts,tsx}"
],
"coveragePathIgnorePatterns": ["<rootDir>/src/test-utils", "<rootDir>/src.*/index.ts"]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md}": [
Expand Down

0 comments on commit 338cfd2

Please sign in to comment.