Change to reporters suggested by Karma

This commit is contained in:
Raoul Snyman 2019-08-26 14:57:18 -07:00
parent 24b1620da9
commit 02e7235fd9
1 changed files with 4 additions and 1 deletions

View File

@ -32,13 +32,16 @@ module.exports = function(config) {
// test results reporter to use // test results reporter to use
// possible values: "dots", "progress" // possible values: "dots", "progress"
// available reporters: https://npmjs.org/browse/keyword/karma-reporter // available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ["progress", "coverage"], reporters: ["dots", "junit"],
// configure the coverateReporter // configure the coverateReporter
/* coverageReporter: { /* coverageReporter: {
type : "html", type : "html",
dir : "htmlcov/" dir : "htmlcov/"
}, */ }, */
junitReporter: {
outputFile: "test-results.xml"
}
// web server port // web server port
port: 9876, port: 9876,