Skip to content

Commit a536b03

Browse files
aryungMylesBorins
authored andcommitted
test: use common.crashOnUnhandledRejection
PR-URL: #17221 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2010b80 commit a536b03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/async-hooks/test-promise.chain-promise-before-init-hooks.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const common = require('../common');
44
const assert = require('assert');
55
const initHooks = require('./init-hooks');
66
const { checkInvocations } = require('./hook-checks');
7+
common.crashOnUnhandledRejection();
78

89
const p = new Promise(common.mustCall(function executor(resolve, reject) {
910
resolve(5);

0 commit comments

Comments
 (0)