Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
Added headless chrome custom launcher for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ONiebsch committed Jun 1, 2017
1 parent ce6c9e7 commit 9989609
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion etc/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,23 @@ module.exports = function (config) {

autoWatch: true,

/*
* custom launchers to run tests with
*/
customLaunchers: {
Chrome_headless: {
base: 'Chrome',
flags: ['--headless', '--disable-gpu']
}
},

/*
* start these browsers
* available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
*/
browsers: [
'PhantomJS'
'PhantomJS',
'Chrome_headless'
],

/*
Expand Down

0 comments on commit 9989609

Please sign in to comment.