Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix(cli/run.js): Revert default glob to match Mocha-5.2

Paul Roebuck34afb1afef60
diff --git a/lib/cli/run.js b/lib/cli/run.js
index d10b89f6..3a6ba007 100644
--- a/lib/cli/run.js
+++ b/lib/cli/run.js
@@ -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'
})