Skip to content

Commit 087dad1

Browse files
plroebuckboneskull
authored andcommitted
fix(bin/_mocha): Make --watch-extensions default to 'js'
The change in c580294 to `--watch-extensions` failed to set a default value. This change specifies that default value. Fixes #3336
1 parent 697952b commit 087dad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/_mocha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ program
247247
'--watch-extensions <ext>,...',
248248
'additional extensions to monitor with --watch',
249249
list,
250-
[]
250+
['js']
251251
)
252252
.option('--delay', 'wait for async suite definition')
253253
.option('--allow-uncaught', 'enable uncaught errors to propagate')

0 commit comments

Comments
 (0)