Adapt code coverage configuration

This commit is contained in:
Theresa Gresch 2019-08-12 10:27:08 +02:00
parent 0548810d5c
commit 1c3435a8a2

View file

@ -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,
//},
// },
},
},