From 4ae72242600b965f33eebc70e5f181064262f5e1 Mon Sep 17 00:00:00 2001 From: Wong Chee Hong Date: Fri, 26 Apr 2024 22:29:17 +0800 Subject: [PATCH] Update karma config to run tests with --code-coverage --- tests/karma.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/karma.conf.js b/tests/karma.conf.js index 60d91f5d6..af6ffa1b8 100644 --- a/tests/karma.conf.js +++ b/tests/karma.conf.js @@ -20,7 +20,7 @@ module.exports = function (config) { reports: ['html', 'lcovonly', 'text-summary'], fixWebpackSourcePaths: true }, - reporters: ['spec'], + reporters: ['spec', 'coverage-istanbul'], specReporter: { maxLogLines: 5, // limit number of lines per test suppressErrorSummary: true,