Setup Jenkins Dockerfile for unit tests
Some checks failed
Core Repos/Homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Cameron Cordes
2020-04-20 19:25:06 -04:00
parent 432ab5ddb3
commit 4f87f6fb3f
6 changed files with 92 additions and 21 deletions

View File

@@ -10,6 +10,7 @@ module.exports = function (config) {
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('karma-junit-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
@@ -20,12 +21,16 @@ module.exports = function (config) {
reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
reporters: ['progress', 'kjhtml', 'junit'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
singleRun: false,
junitReporter: {
outputDir: 'junit-report',
useBrowserName: true
}
});
};
};