Skip to content

Commit a47b55d

Browse files
imZackgibfahn
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 7642577 commit a47b55d

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
const common = require('../common');
33
const async_hooks = require('async_hooks');
4+
common.crashOnUnhandledRejection();
45

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

0 commit comments

Comments
 (0)