feature/unit-tests-ci #3

Merged
cameron merged 8 commits from feature/unit-tests-ci into master 2020-04-21 03:06:13 +00:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit cd02d586e1 - Show all commits

2
Jenkinsfile vendored
View File

@@ -24,7 +24,7 @@ pipeline {
} }
stage('test') { stage('test') {
steps { steps {
sh 'node_modules/.bin/ng test --watch=false --progress=false --browsers=ChromeHeadless' sh 'node_modules/.bin/ng test --watch=false --progress=false --browsers=ChromeHeadlessCI'
} }
} }
} }

View File

@@ -28,7 +28,13 @@ module.exports = function (config) {
colors: true, colors: true,
logLevel: config.LOG_INFO, logLevel: config.LOG_INFO,
autoWatch: true, autoWatch: true,
browsers: ['Chrome', 'ChromeHeadless'], browsers: ['Chrome'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
}
singleRun: false, singleRun: false,
junitReporter: { junitReporter: {
outputDir: 'junit-report', outputDir: 'junit-report',