Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switch default from forced exit to no-exit
Allows `--exit` to override and force exit as before. Resolves #2879
  • Loading branch information
ScottFreeCode authored and boneskull committed Oct 1, 2017
1 parent c5d69e0 commit 3fdd3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/_mocha
Expand Up @@ -94,7 +94,7 @@ program
.option('--inspect-brk', 'activate devtools in chrome and break on the first line')
.option('--interfaces', 'display available interfaces')
.option('--no-deprecation', 'silence deprecation warnings')
.option('--no-exit', 'require a clean shutdown of the event loop: mocha will not call process.exit')
.option('--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-warnings', 'silence all node process warnings')
.option('--opts <path>', 'specify opts path', 'test/mocha.opts')
Expand Down

0 comments on commit 3fdd3ff

Please sign in to comment.