Skip to content

Commit 9191fa7

Browse files
committed
throw error when coverage is under our thresholds
1 parent bedc96e commit 9191fa7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

js/tests/karma.conf.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@ module.exports = (config) => {
5757
coverageIstanbulReporter: {
5858
dir: jsCoveragePath,
5959
reports: ['lcov', 'text-summary'],
60-
fixWebpackSourcePaths: true,
6160
thresholds: {
62-
emitWarning: true,
61+
emitWarning: false,
6362
global: {
64-
statements: 80,
65-
lines: 80,
66-
branches: 80,
67-
functions: 80
63+
statements: 89,
64+
lines: 89,
65+
branches: 83,
66+
functions: 84
6867
}
6968
}
7069
}

0 commit comments

Comments
 (0)