Adapt code coverage configuration
This commit is contained in:
parent
0548810d5c
commit
1c3435a8a2
1 changed files with 9 additions and 9 deletions
|
@ -69,22 +69,22 @@ module.exports = (config) => {
|
|||
emitWarning: true, // set to `true` to not fail the test command when thresholds are not met
|
||||
// thresholds for all files
|
||||
global: {
|
||||
statements: 90,
|
||||
//statements: 90,
|
||||
lines: 90,
|
||||
branches: 90,
|
||||
//branches: 90,
|
||||
functions: 90,
|
||||
},
|
||||
// thresholds per file
|
||||
each: {
|
||||
statements: 90,
|
||||
//statements: 90,
|
||||
lines: 90,
|
||||
branches: 90,
|
||||
//branches: 90,
|
||||
functions: 90,
|
||||
overrides: {
|
||||
"baz/component/**/*.js": {
|
||||
statements: 90,
|
||||
},
|
||||
},
|
||||
//overrides: {
|
||||
//"baz/component/**/*.js": {
|
||||
// statements: 90,
|
||||
//},
|
||||
// },
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue