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 committed Feb 20, 2019
1 parent 6d5a0db commit 2d0f964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/run.js
Original file line number Diff line number Diff line change
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 2d0f964

Please sign in to comment.