Skip to content

Commit

Permalink
test: add common.crashOnUnhandledRejection()
Browse files Browse the repository at this point in the history
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 MylesBorins committed Dec 12, 2017
1 parent a159a2c commit 0754734
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 0754734

Please sign in to comment.