Permalink
Browse files

test: add common.crashOnUnhandledRejection()

PR-URL: #17247
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information...
IHsuan authored and gibfahn committed Nov 22, 2017
1 parent 92d2c9a commit 3cf8f98c3e4772b0cc87a5c91d0b388c67c997e5
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/addons/make-callback-recurse/test.js
@@ -9,6 +9,7 @@ const makeCallback = binding.makeCallback;
// Make sure this is run in the future.
const mustCallCheckDomains = common.mustCall(checkDomains);
common.crashOnUnhandledRejection();
// Make sure that using MakeCallback allows the error to propagate.
assert.throws(function() {

0 comments on commit 3cf8f98

Please sign in to comment.