Skip to content

Commit 56fda53

Browse files
Teamopjohnjbarton
authored andcommitted
fix(init): add "ChromeHeadless" to the browsers' options (#3096)
1 parent f6d2f0e commit 56fda53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/completion.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const options = {
1313
'--no-colors': BOOLEAN,
1414
'--reporters': ['dots', 'progress'],
1515
'--no-reporters': BOOLEAN,
16-
'--browsers': ['Chrome', 'ChromeCanary', 'Firefox', 'PhantomJS', 'Safari', 'Opera'],
16+
'--browsers': ['Chrome', 'ChromeHeadless', 'ChromeCanary', 'Firefox', 'PhantomJS', 'Safari', 'Opera'],
1717
'--no-browsers': BOOLEAN,
1818
'--single-run': BOOLEAN,
1919
'--no-single-run': BOOLEAN,

lib/init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var questions = [{
100100
id: 'browsers',
101101
question: 'Do you want to capture any browsers automatically ?',
102102
hint: 'Press tab to list possible options. Enter empty string to move to the next question.',
103-
options: ['Chrome', 'ChromeCanary', 'Firefox', 'Safari', 'PhantomJS', 'Opera', 'IE', ''],
103+
options: ['Chrome', 'ChromeHeadless', 'ChromeCanary', 'Firefox', 'Safari', 'PhantomJS', 'Opera', 'IE', ''],
104104
validate: validateBrowser,
105105
multiple: true
106106
}, {

0 commit comments

Comments
 (0)