Skip to content

armgit / mocha

Public Imported from GitHub
0

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

change --invert description slightly

TJ Holowaychuk98d63832a64c
diff --git a/bin/_mocha b/bin/_mocha
index e22cf722..d23e34fb 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -61,7 +61,7 @@ program
.option('-R, --reporter <name>', 'specify the reporter to use', 'dot')
.option('-u, --ui <name>', 'specify user-interface (bdd|tdd|exports)', 'bdd')
.option('-g, --grep <pattern>', 'only run tests matching <pattern>')
- .option('-i, --invert', 'inverts test selection')
+ .option('-i, --invert', 'inverts --grep matches')
.option('-t, --timeout <ms>', 'set test-case timeout in milliseconds [2000]')
.option('-s, --slow <ms>', '"slow" test threshold in milliseconds [75]', parseInt)
.option('-w, --watch', 'watch files for changes')