Add --no-sandbox flag to Karma test

This commit is contained in:
Joseph Schorr 2017-11-30 10:24:11 -05:00
parent c168413a8e
commit 45931dc856
2 changed files with 8 additions and 2 deletions

View file

@ -58,7 +58,13 @@ module.exports = function(config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['ChromeHeadless'],
browsers: ['ChromeNoSandbox'],
customLaunchers: {
ChromeNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
singleRun: false,
concurrency: Infinity,
mime: {