☕️ Classic, reliable, trusted test framework for Node.js and the browser
Add docs for wrapped node flags in mocha --help
Travis Jeffery54f6059f1071
diff --git a/bin/_mocha b/bin/_mochaindex bea6df85..cc9b06c6 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -79,6 +79,13 @@ program.option('--recursive', 'include sub directories').option('--debug-brk', "enable node's debugger breaking on the first line").option('--globals <names>', 'allow the given comma-delimited global [names]', list, [])+ .option('--harmony', 'enable all harmony features (except typeof)')+ .option('--harmony-proxies', 'enable harmony proxies')+ .option('--harmony-collections', 'enable harmony collections (sets, maps, and weak maps)')+ .option('--harmony-generators', 'enable harmony generators')+ .option('--prof', 'log statistical profiling information')+ .option('-gc', '--expose-gc', 'expose gc extension')+ .option('--trace', 'trace function calls').option('--check-leaks', 'check for global variable leaks').option('--interfaces', 'display available interfaces').option('--reporters', 'display available reporters')