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/js/templates.js
app/data app/data
*.py[cod] *.py[cod]
karma.subunit
# C extensions # C extensions
*.so *.so

View File

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

View File

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