Updating JS unit test coverage threshold
This patch updates the JS unit test coverage threshold. As we've added code we've increased the coverage. To keep new code well-covered, we should increase the threshold so new code doesn't decrease the overall coverage. The rule of thumb is to keep it at the highest whole percentage point that greater than .5% of a difference from the current coverage. Change-Id: I89e18841b4e9ba4a2cbd49ee222d3234e9d26c88
This commit is contained in:
parent
ba2bc3503e
commit
47f7f54437
@ -147,10 +147,10 @@ module.exports = function (config) {
|
||||
|
||||
// Coverage threshold values.
|
||||
thresholdReporter: {
|
||||
statements: 91, // target 100
|
||||
branches: 81, // target 100
|
||||
functions: 90, // target 100
|
||||
lines: 92 // target 100
|
||||
statements: 93, // target 100
|
||||
branches: 84, // target 100
|
||||
functions: 91, // target 100
|
||||
lines: 93 // target 100
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -192,10 +192,10 @@ module.exports = function (config) {
|
||||
|
||||
// Coverage threshold values.
|
||||
thresholdReporter: {
|
||||
statements: 95, // target 100
|
||||
branches: 92, // target 100
|
||||
functions: 94, // target 100
|
||||
lines: 95 // target 100
|
||||
statements: 96, // target 100
|
||||
branches: 93, // target 100
|
||||
functions: 95, // target 100
|
||||
lines: 96 // target 100
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user