Merge "Add karma-subunit-reporter"

This commit is contained in:
Zuul 2019-05-31 06:33:34 +00:00 committed by Gerrit Code Review
commit 2d52706184
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ gulp-build
app/js/templates.js
app/data
*.py[cod]
karma.subunit
# C extensions
*.so

View File

@ -57,6 +57,7 @@
"karma-chrome-launcher": "0.2.3",
"karma-coverage": "0.5.5",
"karma-jasmine": "0.3.8",
"karma-subunit-reporter": "0.0.4",
"morgan": "1.7.0",
"nprogress": "^0.2.0",
"pretty-hrtime": "1.0.2",

View File

@ -13,7 +13,7 @@ module.exports = function(config) {
'app/js/**/*.js': ['browserify', 'coverage']
},
browsers: ['Chrome'],
reporters: ['progress'],
reporters: ['progress', 'subunit'],
autoWatch: true,
singleRun: true,
@ -29,6 +29,11 @@ module.exports = function(config) {
]
},
subunitReporter: {
slug: true,
tags: ['worker-0']
},
proxies: {
'/': 'http://localhost:9876/'
},