Skip to content

Commit

Permalink
Add --no-warnings flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe authored and boneskull committed May 12, 2017
1 parent ceee976 commit 92561c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ program
.option('--no-deprecation', 'silence deprecation warnings')
.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('--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)')
.option('--prof', 'log statistical profiling information')
Expand Down
1 change: 1 addition & 0 deletions bin/mocha
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ process.argv.slice(2).forEach(function (arg) {
case '--gc-global':
case '--es_staging':
case '--no-deprecation':
case '--no-warnings':
case '--prof':
case '--log-timer-events':
case '--throw-deprecation':
Expand Down

0 comments on commit 92561c8

Please sign in to comment.