Skip to content

Commit 4c4558a

Browse files
committed
set 80% as minimum for coverage tests
1 parent 693c8f5 commit 4c4558a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

karma.conf.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ module.exports = function (config) {
1818
coverageIstanbulReporter: {
1919
dir: require('path').join(__dirname, './coverage/time-tracker'),
2020
reports: ['html', 'lcovonly', 'text-summary'],
21-
fixWebpackSourcePaths: true
21+
fixWebpackSourcePaths: true,
22+
thresholds: {
23+
statements: 80,
24+
lines: 80,
25+
branches: 80,
26+
functions: 80
27+
}
2228
},
2329
reporters: ['progress', 'kjhtml'],
2430
port: 9876,

0 commit comments

Comments
 (0)