From: Johann-S Date: Tue, 20 Mar 2018 15:08:19 +0000 (+0100) Subject: throw error when coverage is under our thresholds X-Git-Tag: v4.1.0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9191fa73df8a1f48a8728959beb00e67dd4fe3b4;p=thirdparty%2Fbootstrap.git throw error when coverage is under our thresholds --- diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 5a35742196..d980fc81cc 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 } } }