Skip to content

Commit d500245

Browse files
committed
chore: configure jest
- Move jest config to `jest.config.js` - Disable collect coverage (default)
1 parent 1cc17e2 commit d500245

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
2+
coverageDirectory: './coverage/',
23
collectCoverageFrom: ['src/*.js', '!src/index.js']
34
}

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
"test:watch": "jest --watch",
1616
"coverage": "jest --coverage"
1717
},
18-
"jest": {
19-
"coverageDirectory": "./coverage/",
20-
"collectCoverage": true
21-
},
2218
"repository": {
2319
"type": "git",
2420
"url": "git+https://github.com/robsontenorio/vue-api-query.git"

0 commit comments

Comments
 (0)