Skip to content

Commit

Permalink
chore: configure jest
Browse files Browse the repository at this point in the history
- Move jest config to `jest.config.js`
- Disable collect coverage (default)
  • Loading branch information
JoaoPedroAS51 committed Jan 25, 2021
1 parent 1cc17e2 commit d500245
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions jest.config.js
@@ -1,3 +1,4 @@
module.exports = {
coverageDirectory: './coverage/',
collectCoverageFrom: ['src/*.js', '!src/index.js']
}
4 changes: 0 additions & 4 deletions package.json
Expand Up @@ -15,10 +15,6 @@
"test:watch": "jest --watch",
"coverage": "jest --coverage"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/robsontenorio/vue-api-query.git"
Expand Down

0 comments on commit d500245

Please sign in to comment.