Skip to content

Commit 497195a

Browse files
w5151381guyMylesBorins
authored andcommitted
test: add common.crashOnUnhandledRejection()
added to test-async-hooks-enable-during-promise.js PR-URL: #17234 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c375816 commit 497195a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-async-hooks-enable-during-promise.js

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
const common = require('../common');
33
const async_hooks = require('async_hooks');
44

5+
common.crashOnUnhandledRejection();
6+
57
Promise.resolve(1).then(common.mustCall(() => {
68
async_hooks.createHook({
79
init: common.mustCall(),

0 commit comments

Comments
 (0)