Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Remove redundant harmony flag

Daniel St. Jules4747437b0424
diff --git a/bin/_mocha b/bin/_mocha
index 4873dc74..f8068835 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -82,8 +82,7 @@ program
.option('--debug-brk', "enable node's debugger breaking on the first line")
.option('--globals <names>', 'allow the given comma-delimited global [names]', list, [])
.option('--es_staging', 'enable all staged features')
- .option('--harmony', 'enable all harmony features (except typeof)')
- .option('--harmony_<classes,generators,...>', 'all node --harmony* flags are available')
+ .option('--harmony<_classes,_generators,...>', 'all node --harmony* flags are available')
.option('--inline-diffs', 'display actual/expected differences inline within each string')
.option('--interfaces', 'display available interfaces')
.option('--no-deprecation', 'silence deprecation warnings')