Skip to content

Commit c232542

Browse files
imZackMylesBorins
authored andcommitted
test: use crashOnUnhandledRejection
Add common.crashOnUnhandledRejection to test/parallel/test-async-hooks-disable-during-promise.js PR-URL: #17220 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 63f9a13 commit c232542

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎test/parallel/test-async-hooks-disable-during-promise.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22
constcommon=require('../common');
33
constasync_hooks=require('async_hooks');
4+
common.crashOnUnhandledRejection();
45

56
consthook=async_hooks.createHook({
67
init: common.mustCall(2),

0 commit comments

Comments
(0)