From 4c4558ab9c3c00aee6e8b75fc2f50843744ac656 Mon Sep 17 00:00:00 2001 From: Cristina Guncay Date: Thu, 19 Mar 2020 14:16:33 -0500 Subject: [PATCH] set 80% as minimum for coverage tests --- karma.conf.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/karma.conf.js b/karma.conf.js index 297150030..fe94dc90c 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -18,7 +18,13 @@ module.exports = function (config) { coverageIstanbulReporter: { dir: require('path').join(__dirname, './coverage/time-tracker'), reports: ['html', 'lcovonly', 'text-summary'], - fixWebpackSourcePaths: true + fixWebpackSourcePaths: true, + thresholds: { + statements: 80, + lines: 80, + branches: 80, + functions: 80 + } }, reporters: ['progress', 'kjhtml'], port: 9876,