☕️ Classic, reliable, trusted test framework for Node.js and the browser
Site index - update mocha command flags
Tomer Eskenazi449e3d66202d
diff --git a/index.html b/index.htmlindex 56c1cd6e..f4837b86 100644--- a/index.html+++ b/index.html@@ -421,11 +421,22 @@ Options:--check-leaks check for global variable leaks--compilers <ext>:<module>,... use the given module(s) to compile files--debug-brk enable node's debugger breaking on the first line+ --delay wait for async suite definition+ --es_staging enable all staged features+ --full-trace display the full stack trace--globals <names> allow the given comma-delimited global [names]+ --harmony enable all harmony features (except typeof)+ --harmony-collections enable harmony collections (sets, maps, and weak maps)+ --harmony-generators enable harmony generators+ --harmony-proxies enable harmony proxies+ --harmony_arrow_functions enable "harmony arrow functions" (iojs)+ --harmony_classes enable "harmony classes" (iojs)+ --harmony_proxies enable "harmony proxies" (iojs)+ --harmony_shipping enable all shipped harmony fetaures (iojs)--inline-diffs display actual/expected differences inline within each string--interfaces display available interfaces--no-deprecation silence deprecation warnings- --no-exit require a clean shutdown of the event loop: mocha will exit+ --no-exit require a clean shutdown of the event loop: mocha will not call process.exit--no-timeouts disables timeouts, given implicitly with --debug--opts <path> specify opts path--prof log statistical profiling information@@ -435,7 +446,6 @@ Options:--trace trace function calls--trace-deprecation show stack traces on deprecations--watch-extensions <ext>,... additional extensions to monitor with --watch- --delay wait for async suite definition</code></pre><h3 id="watch-option">-w, --watch</h3>diff --git a/index.md b/index.mdindex 136bde08..4f3fce58 100644--- a/index.md+++ b/index.md@@ -381,11 +381,22 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal--check-leaks check for global variable leaks--compilers <ext>:<module>,... use the given module(s) to compile files--debug-brk enable node's debugger breaking on the first line+ --delay wait for async suite definition+ --es_staging enable all staged features+ --full-trace display the full stack trace--globals <names> allow the given comma-delimited global [names]+ --harmony enable all harmony features (except typeof)+ --harmony-collections enable harmony collections (sets, maps, and weak maps)+ --harmony-generators enable harmony generators+ --harmony-proxies enable harmony proxies+ --harmony_arrow_functions enable "harmony arrow functions" (iojs)+ --harmony_classes enable "harmony classes" (iojs)+ --harmony_proxies enable "harmony proxies" (iojs)+ --harmony_shipping enable all shipped harmony fetaures (iojs)--inline-diffs display actual/expected differences inline within each string--interfaces display available interfaces--no-deprecation silence deprecation warnings- --no-exit require a clean shutdown of the event loop: mocha will exit+ --no-exit require a clean shutdown of the event loop: mocha will not call process.exit--no-timeouts disables timeouts, given implicitly with --debug--opts <path> specify opts path--prof log statistical profiling information@@ -395,7 +406,6 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal--trace trace function calls--trace-deprecation show stack traces on deprecations--watch-extensions <ext>,... additional extensions to monitor with --watch- --delay wait for async suite definition<h3 id="watch-option">-w, --watch</h3>