Skip to content

Commit 34afb1a

Browse files
plroebuckboneskull
authored andcommitted
fix(cli/run.js): Revert default glob to match Mocha-5.2
The old glob 'test' would allow 'test.js' to be used by default (rather than requiring file be placed inside "test" directory. Fixes #3750
1 parent 6d5a0db commit 34afb1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/cli/run.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ exports.builder = yargs =>
245245
}
246246
})
247247
.positional('spec', {
248-
default: ['test/'],
248+
default: ['test'],
249249
description: 'One or more files, directories, or globs to test',
250250
type: 'array'
251251
})

0 commit comments

Comments
 (0)