☕️ Classic, reliable, trusted test framework for Node.js and the browser
Merge pull request #1982 from Alaneor/cli-log-timer-events
Daniel St. Julesce3e89a0b40c
diff --cc bin/_mochaindex f7e8d188,f7a39f2c..aa0c2de8--- a/bin/_mocha+++ b/bin/_mocha@@@ -89,8 -89,8 +89,9 @@@ progra.option('--no-exit', 'require a clean shutdown of the event loop: mocha will not call process.exit').option('--no-timeouts', 'disables timeouts, given implicitly with --debug').option('--opts <path>', 'specify opts path', 'test/mocha.opts')+ .option('--perf-basic-prof', 'enable perf linux profiler (basic support)').option('--prof', 'log statistical profiling information')+ .option('--log-timer-events', 'Time events including external callbacks').option('--recursive', 'include sub directories').option('--reporters', 'display available reporters').option('--throw-deprecation', 'throw an exception anytime a deprecated function is used')diff --cc bin/mochaindex 7e53e51d,47f790e3..3a392379--- a/bin/mocha+++ b/bin/mocha@@@ -37,11 -32,10 +37,12 @@@ process.argv.slice(2).forEach(function(case '--es_staging':case '--no-deprecation':case '--prof':+ case '--log-timer-events':case '--throw-deprecation':case '--trace-deprecation':+ case '--use_strict':case '--allow-natives-syntax':+ case '--perf-basic-prof':args.unshift(arg);break;default: