Skip to content

Commit

Permalink
fix(jest-config): move collectCoverage option to jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
jaebradley committed Jul 22, 2018
1 parent 22feb74 commit 17baec5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/templates/core/package.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "rollup -c",
"build:prod": "BABEL_ENV=production npm run build",
"codecov": "codecov",
"test": "BABEL_ENV=test jest src/ --coverage --no-cache",
"test": "BABEL_ENV=test jest src/ --no-cache",
"prepare": "npm run build:prod"
},
"repository": {
Expand Down Expand Up @@ -47,6 +47,7 @@
"rollup-plugin-terser":"^1.0.1"
},
"jest": {
"collectCoverage": true,
"testPathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/node_modules/"
Expand Down

0 comments on commit 17baec5

Please sign in to comment.