Skip to content

Commit

Permalink
throw error when coverage is under our thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann-S committed Mar 21, 2018
1 parent bedc96e commit 9191fa7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions js/tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ module.exports = (config) => {
coverageIstanbulReporter: {
dir: jsCoveragePath,
reports: ['lcov', 'text-summary'],
fixWebpackSourcePaths: true,
thresholds: {
emitWarning: true,
emitWarning: false,
global: {
statements: 80,
lines: 80,
branches: 80,
functions: 80
statements: 89,
lines: 89,
branches: 83,
functions: 84
}
}
}
Expand Down

0 comments on commit 9191fa7

Please sign in to comment.