Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Fix the '--no-colors' option

Jussi Virtanen0cd61fe04c02
diff --git a/bin/_mocha b/bin/_mocha
index 1343f863..8cc6dbca 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -45,8 +45,8 @@ program
.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')
- .option('-C, --no-colors', 'force disabling of colors')
.option('-c, --colors', 'force enabling of colors')
+ .option('-C, --no-colors', 'force disabling of colors')
.option('-G, --growl', 'enable growl notification support')
.option('-d, --debug', "enable node's debugger")
.option('-b, --bail', "bail after first test failure")