Skip to content

Commit

Permalink
chore(tests): use headless chrome unless env NO_HEADLESS is set
Browse files Browse the repository at this point in the history
  • Loading branch information
knalli committed Jun 7, 2017
1 parent 69c666a commit c2ff1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma.midway.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function (config) {
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
browsers: [process.env.TRAVIS ? 'Firefox' : 'Chrome'],
browsers: [process.env.TRAVIS ? 'Firefox' : (process.env.NO_HEADLESS ? 'Chrome' : 'ChromeHeadless')],

captureTimeout: 60000,

Expand Down

0 comments on commit c2ff1b3

Please sign in to comment.