Skip to content

Commit

Permalink
test: add common.crashOnUnhandledRejection()
Browse files Browse the repository at this point in the history
PR-URL: nodejs#17247
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
IHsuan authored and MylesBorins committed Dec 6, 2017
1 parent b1acba3 commit 694e7ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/addons/make-callback-recurse/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 694e7ba

Please sign in to comment.