Skip to content

Commit

Permalink
Move jest configuration out from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
micksatana committed Dec 15, 2018
1 parent 2ba880d commit fa3abcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 11 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
collectCoverage: true,
collectCoverageFrom: [
'lib/**/*.{js,jsx}',
'!**/node_modules/**'
],
coverageDirectory: 'coverage',
roots: [
'test'
]
};
11 changes: 0 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,6 @@
"mkdirp": "^0.5.1",
"rimraf": "^2.6.2"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"lib/**/*.{js,jsx}",
"!**/node_modules/**"
],
"coverageDirectory": "coverage",
"roots": [
"test"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test",
Expand Down

0 comments on commit fa3abcd

Please sign in to comment.