Skip to content

Commit

Permalink
fix(init): add "ChromeHeadless" to the browsers' options (#3096)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teamop authored and johnjbarton committed Jul 31, 2018
1 parent f6d2f0e commit 56fda53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/completion.js
Expand Up @@ -13,7 +13,7 @@ const options = {
'--no-colors': BOOLEAN,
'--reporters': ['dots', 'progress'],
'--no-reporters': BOOLEAN,
'--browsers': ['Chrome', 'ChromeCanary', 'Firefox', 'PhantomJS', 'Safari', 'Opera'],
'--browsers': ['Chrome', 'ChromeHeadless', 'ChromeCanary', 'Firefox', 'PhantomJS', 'Safari', 'Opera'],
'--no-browsers': BOOLEAN,
'--single-run': BOOLEAN,
'--no-single-run': BOOLEAN,
Expand Down
2 changes: 1 addition & 1 deletion lib/init.js
Expand Up @@ -100,7 +100,7 @@ var questions = [{
id: 'browsers',
question: 'Do you want to capture any browsers automatically ?',
hint: 'Press tab to list possible options. Enter empty string to move to the next question.',
options: ['Chrome', 'ChromeCanary', 'Firefox', 'Safari', 'PhantomJS', 'Opera', 'IE', ''],
options: ['Chrome', 'ChromeHeadless', 'ChromeCanary', 'Firefox', 'Safari', 'PhantomJS', 'Opera', 'IE', ''],
validate: validateBrowser,
multiple: true
}, {
Expand Down

0 comments on commit 56fda53

Please sign in to comment.