From 24b1620da925e221aa3aa770c9947407d05f9bef Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 26 Aug 2019 14:47:44 -0700 Subject: [PATCH] Streamline some config for KarmaJS to see if we can figure out why it is hanging in Jenkins --- karma.conf.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 58a43f55e..099ced84f 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -26,7 +26,7 @@ module.exports = function(config) { // source files, that you wanna generate coverage for // do not include tests or libraries // (these files will be instrumented by Istanbul) - "display.js": ["coverage"] + // "display.js": ["coverage"] }, // test results reporter to use @@ -35,10 +35,10 @@ module.exports = function(config) { reporters: ["progress", "coverage"], // configure the coverateReporter - coverageReporter: { + /* coverageReporter: { type : "html", dir : "htmlcov/" - }, + }, */ // web server port port: 9876, @@ -64,7 +64,7 @@ module.exports = function(config) { // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits - singleRun: false, + singleRun: true, // Concurrency level // how many browser should be started simultaneous