mocha 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/bin/_mocha +2 -2
- package/package.json +1 -1
- package/bin/.eslintrc.yml +0 -3
- package/lib/browser/.eslintrc.yml +0 -4
package/CHANGELOG.md
CHANGED
package/bin/_mocha
CHANGED
|
@@ -201,7 +201,7 @@ program
|
|
|
201
201
|
.option('--trace-deprecation', 'show stack traces on deprecations')
|
|
202
202
|
.option('--trace-warnings', 'show stack traces on node process warnings')
|
|
203
203
|
.option('--use_strict', 'enforce strict mode')
|
|
204
|
-
.option('--watch-extensions <ext>,...', '
|
|
204
|
+
.option('--watch-extensions <ext>,...', 'additional extensions to monitor with --watch', list, [])
|
|
205
205
|
.option('--delay', 'wait for async suite definition')
|
|
206
206
|
.option('--allow-uncaught', 'enable uncaught errors to propagate')
|
|
207
207
|
.option('--forbid-only', 'causes test marked with only to fail the suite')
|
|
@@ -538,7 +538,7 @@ if (program.watch) {
|
|
|
538
538
|
process.exit(130);
|
|
539
539
|
});
|
|
540
540
|
|
|
541
|
-
const watchFiles = utils.files(cwd, program.watchExtensions);
|
|
541
|
+
const watchFiles = utils.files(cwd, [ 'js' ].concat(program.watchExtensions));
|
|
542
542
|
let runAgain = false;
|
|
543
543
|
|
|
544
544
|
loadAndRun = () => {
|
package/package.json
CHANGED
package/bin/.eslintrc.yml
DELETED