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:
Matt Borland 2015-12-14 08:17:12 -07:00
parent 184a1e6810
commit 316aab1c3b
2 changed files with 7 additions and 7 deletions

View File

@ -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
}
});
};

View File

@ -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
}
});
};