☕️ Classic, reliable, trusted test framework for Node.js and the browser
fix(_mocha): Update '--no-timeouts' argument description (#3546)
P. Roebucka371e2f73f8a
diff --git a/bin/_mocha b/bin/_mochaindex 355a91b8..742c5d70 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -218,7 +218,10 @@ program'--exit','force shutdown of the event loop after test run: mocha will call process.exit')- .option('--no-timeouts', 'disables timeouts, given implicitly with --debug')+ .option(+ '--no-timeouts',+ 'disables timeouts, given implicitly with --debug/--inspect'+ ).option('--no-warnings', 'silence all node process warnings').option('--opts <path>', 'specify opts path', 'test/mocha.opts').option('--perf-basic-prof', 'enable perf linux profiler (basic support)')diff --git a/docs/index.md b/docs/index.mdindex 367dba67..fd4ac9aa 100644--- a/docs/index.md+++ b/docs/index.md@@ -818,7 +818,7 @@ Options:--interfaces output provided interfaces and exit--no-deprecation silence deprecation warnings--exit force shutdown of the event loop after test run: mocha will call process.exit- --no-timeouts disables timeouts, given implicitly with --debug+ --no-timeouts disables timeouts, given implicitly with --debug/--inspect--no-warnings silence all node process warnings--opts <path> specify opts path (default: "test/mocha.opts")--perf-basic-prof enable perf linux profiler (basic support)