Skip to content

Commit 31fda3b

Browse files
committed
build: re-add coverage threshold checking
1 parent d1219ba commit 31fda3b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

projects/angular-calendar/karma.conf.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ module.exports = config => {
1515
coverageIstanbulReporter: {
1616
dir: require('path').join(__dirname, '../../coverage'),
1717
reports: ['text-summary', 'html', 'lcovonly'],
18-
fixWebpackSourcePaths: true
18+
fixWebpackSourcePaths: true,
19+
thresholds: {
20+
statements: 100,
21+
lines: 100,
22+
branches: 86,
23+
functions: 100
24+
}
1925
},
2026
reporters: ['mocha', 'coverage-istanbul'],
2127
logLevel: config.LOG_INFO,

0 commit comments

Comments
 (0)