Skip to content

Commit

Permalink
chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
hector-js committed Nov 5, 2018
1 parent 7004abb commit 544b057
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,19 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
// browsers: ['Chrome'],
browsers: ['ChromeHeadless'],
customLaunchers: {
ChromeHeadless: {
base: 'Chrome',
flags: [
'--headless',
'--disable-gpu',
// Without a remote debugging port, Google Chrome exits immediately.
'--remote-debugging-port=9222',
],
}
},
singleRun: true
});
};

0 comments on commit 544b057

Please sign in to comment.