Skip to content

armgit / mocha

Public Imported from GitHub
0

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

resolves #1296: evidently the order matters

Christopher Hiller3997ad04fc0f
diff --git a/bin/_mocha b/bin/_mocha
index 7e5e9d5d..7c39c6ce 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -62,12 +62,12 @@ program
.version(JSON.parse(fs.readFileSync(__dirname + '/../package.json', 'utf8')).version)
.usage('[debug] [options] [files]')
.option('-A, --async-only', "force all tests to take a callback (async)")
+ .option('-c, --colors', 'force enabling of colors')
.option('-C, --no-colors', 'force disabling of colors')
.option('-G, --growl', 'enable growl notification support')
.option('-R, --reporter <name>', 'specify the reporter to use', 'spec')
.option('-S, --sort', "sort test files")
.option('-b, --bail', "bail after first test failure")
- .option('-c, --colors', 'force enabling of colors')
.option('-d, --debug', "enable node's debugger, synonym for node --debug")
.option('-g, --grep <pattern>', 'only run tests matching <pattern>')
.option('-gc', '--expose-gc', 'expose gc extension')