Skip to content

Commit 0754734

Browse files
IHsuanMylesBorins
authored andcommitted
test: add common.crashOnUnhandledRejection()
PR-URL: #17247 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent a159a2c commit 0754734

File tree

1 file changed

+1
-0
lines changed
  • test/addons/make-callback-recurse

1 file changed

+1
-0
lines changed

test/addons/make-callback-recurse/test.js

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const makeCallback = binding.makeCallback;
99
// Make sure this is run in the future.
1010
const mustCallCheckDomains = common.mustCall(checkDomains);
1111

12+
common.crashOnUnhandledRejection();
1213

1314
// Make sure that using MakeCallback allows the error to propagate.
1415
assert.throws(function() {

0 commit comments

Comments
 (0)