Skip to content

Commit

Permalink
Add --trace-warnings flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe committed Mar 9, 2017
1 parent 7cdb225 commit 855fb00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Expand Up @@ -106,6 +106,7 @@ program
.option('--throw-deprecation', 'throw an exception anytime a deprecated function is used')
.option('--trace', 'trace function calls')
.option('--trace-deprecation', 'show stack traces on deprecations')
.option('--trace-warnings', 'show stack traces on node process warnings')
.option('--use_strict', 'enforce strict mode')
.option('--watch-extensions <ext>,...', 'additional extensions to monitor with --watch', list, [])
.option('--delay', 'wait for async suite definition');
Expand Down
1 change: 1 addition & 0 deletions bin/mocha
Expand Up @@ -43,6 +43,7 @@ process.argv.slice(2).forEach(function (arg) {
case '--log-timer-events':
case '--throw-deprecation':
case '--trace-deprecation':
case '--trace-warnings':
case '--use_strict':
case '--allow-natives-syntax':
case '--perf-basic-prof':
Expand Down

0 comments on commit 855fb00

Please sign in to comment.