Streamline some config for KarmaJS to see if we can figure out why it is hanging in Jenkins

This commit is contained in:
Raoul Snyman 2019-08-26 14:47:44 -07:00
parent d6d7d9d549
commit 24b1620da9

View File

@ -26,7 +26,7 @@ module.exports = function(config) {
// source files, that you wanna generate coverage for // source files, that you wanna generate coverage for
// do not include tests or libraries // do not include tests or libraries
// (these files will be instrumented by Istanbul) // (these files will be instrumented by Istanbul)
"display.js": ["coverage"] // "display.js": ["coverage"]
}, },
// test results reporter to use // test results reporter to use
@ -35,10 +35,10 @@ module.exports = function(config) {
reporters: ["progress", "coverage"], reporters: ["progress", "coverage"],
// configure the coverateReporter // configure the coverateReporter
coverageReporter: { /* coverageReporter: {
type : "html", type : "html",
dir : "htmlcov/" dir : "htmlcov/"
}, }, */
// web server port // web server port
port: 9876, port: 9876,
@ -64,7 +64,7 @@ module.exports = function(config) {
// Continuous Integration mode // Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits // if true, Karma captures browsers, runs the tests and exits
singleRun: false, singleRun: true,
// Concurrency level // Concurrency level
// how many browser should be started simultaneous // how many browser should be started simultaneous