Skip to content

Commit

Permalink
fix(cli/run.js): Revert default glob to match Mocha-5.2
Browse files Browse the repository at this point in the history
The old glob 'test' would allow 'test.js' to be used by default (rather than requiring file be
placed inside "test" directory.

Fixes #3750
  • Loading branch information
plroebuck authored and boneskull committed Feb 20, 2019
1 parent 6d5a0db commit 34afb1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/run.js
Expand Up @@ -245,7 +245,7 @@ exports.builder = yargs =>
}
})
.positional('spec', {
default: ['test/'],
default: ['test'],
description: 'One or more files, directories, or globs to test',
type: 'array'
})
Expand Down

0 comments on commit 34afb1a

Please sign in to comment.