Skip to content

armgit / mocha

Public Imported from GitHub
0

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

small fix: commander option for --expose-gc

Fede Ramirez09ecbfb9710f
diff --git a/bin/_mocha b/bin/_mocha
index 338ed1ec..a73c9540 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -67,7 +67,7 @@ program
.option('-b, --bail', "bail after first test failure")
.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')
+ .option('-gc, --expose-gc', 'expose gc extension')
.option('-i, --invert', 'inverts --grep matches')
.option('-r, --require <name>', 'require the given module')
.option('-s, --slow <ms>', '"slow" test threshold in milliseconds [75]')