diff options
| author | Johann-S <[email protected]> | 2018-03-20 16:08:19 +0100 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2018-03-21 07:04:24 +0100 |
| commit | 9191fa73df8a1f48a8728959beb00e67dd4fe3b4 (patch) | |
| tree | 6f5d6f55a4c59281a153842a55aa947214963b0e | |
| parent | bedc96e48bebb7a1124a97833794a8047a1e3b95 (diff) | |
| download | bootstrap-9191fa73df8a1f48a8728959beb00e67dd4fe3b4.tar.xz bootstrap-9191fa73df8a1f48a8728959beb00e67dd4fe3b4.zip | |
throw error when coverage is under our thresholds
| -rw-r--r-- | js/tests/karma.conf.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 5a3574219..d980fc81c 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -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 } } } |
