Raise JS unit test coverage threshold
As people have been raising the unit test coverage, we should make sure we're raising the thresholds as well. This keeps the new code from being lax in coverage. The metric used here was to set whole number percentage points that were more than one-half of a percentage point below the actual coverage. Change-Id: I348d4b8cafcf6c7d0dc8e770b66609984e89c20b Partial-Bug: 1506891
This commit is contained in:
parent
184a1e6810
commit
316aab1c3b
@ -150,10 +150,10 @@ module.exports = function (config) {
|
||||
|
||||
// Coverage threshold values.
|
||||
thresholdReporter: {
|
||||
statements: 90, // target 100
|
||||
branches: 77, // target 100
|
||||
functions: 89, // target 100
|
||||
lines: 87 // target 100
|
||||
statements: 91, // target 100
|
||||
branches: 81, // target 100
|
||||
functions: 90, // target 100
|
||||
lines: 91 // target 100
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -192,10 +192,10 @@ module.exports = function (config) {
|
||||
|
||||
// Coverage threshold values.
|
||||
thresholdReporter: {
|
||||
statements: 92, // target 100
|
||||
branches: 89, // target 100
|
||||
statements: 93, // target 100
|
||||
branches: 90, // target 100
|
||||
functions: 92, // target 100
|
||||
lines: 92 // target 100
|
||||
lines: 93 // target 100
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user