Skip to content

Commit

Permalink
Ensure tests failure on unhandled rejections (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam authored and daffl committed Jul 1, 2019
1 parent 054360d commit 5f8bcdb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions mocha.opts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--require loud-rejection/register
--recursive test/
--timeout 5000
--exit
25 changes: 25 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"chai-as-promised": "^7.1.1",
"istanbul": "^1.1.0-alpha.1",
"knex": "^0.18.1",
"loud-rejection": "^2.1.0",
"mocha": "^6.0.0",
"semistandard": "^13.0.1",
"shx": "^0.3.2",
Expand Down

0 comments on commit 5f8bcdb

Please sign in to comment.