]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
throw error when coverage is under our thresholds
authorJohann-S <johann.servoire@gmail.com>
Tue, 20 Mar 2018 15:08:19 +0000 (16:08 +0100)
committerJohann-S <johann.servoire@gmail.com>
Wed, 21 Mar 2018 06:04:24 +0000 (07:04 +0100)
js/tests/karma.conf.js

index 5a35742196a98cc46092e68e82c13e8d4ff0f489..d980fc81ccba27a7995f323ca4e949e84341a9ca 100644 (file)
@@ -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
         }
       }
     }