corrected testMatch pattern, fixed backend coverage collection (?)

This commit is contained in:
Ulf Gebhardt 2019-05-08 20:16:18 +02:00
parent 900dfb9693
commit 28c44f2781
No known key found for this signature in database
GPG Key ID: 44C888923CC8E7F3
2 changed files with 3 additions and 6 deletions

View File

@ -28,7 +28,7 @@
"verbose": true,
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{js}",
"**/*.js",
"!**/node_modules/**",
"!**/test/**"
],
@ -37,7 +37,7 @@
"lcov"
],
"testMatch": [
"**/src/**/?(*.)+(spec|test).js?(x)"
"**/src/**/?(*.).spec.js"
]
},
"dependencies": {

View File

@ -27,9 +27,6 @@
"text",
"lcov"
],
"moduleFileExtensions": [
"js"
],
"transform": {
".*\\.(vue)$": "vue-jest",
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
@ -39,7 +36,7 @@
"^~/(.*)$": "<rootDir>/$1"
},
"testMatch": [
"**/src/**/?(*.)+(spec|test).js?(x)"
"**/?(*.).spec.js"
]
},
"dependencies": {