Skip to content

Commit

Permalink
Fix for build error: Cannot start ChromeHeadless (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtifexEt authored and NagRock committed Jan 17, 2018
1 parent 5537d50 commit e48a85d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,23 @@ module.exports = function (config) {

reporters: ["progress", "mocha"],

browsers: ["ChromeHeadless", "PhantomJS"],
browsers: ["CustomChromeHeadless", "PhantomJS"],

mochaReporter: {
output: 'minimal'
},

customLaunchers: {
'CustomChromeHeadless': {
base: 'ChromeHeadless',
flags: [
'--no-sandbox',
'--disable-setuid-sandbox'
],
debug: true
}
},

logLevel: config.LOG_INFO,
autoWatch: true,
singleRun: false
Expand Down

0 comments on commit e48a85d

Please sign in to comment.