Skip to content

Commit 2aeb025

Browse files
Sho Miyamotoevanlucas
Sho Miyamoto
authored andcommitted
test: add common.crashOnUnhandledRejection to addons/callback-scope
PR-URL: #18076 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
1 parent f8f809b commit 2aeb025

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/addons/callback-scope/test-resolve-async.js

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const common = require('../../common');
44
const assert = require('assert');
55
const { testResolveAsync } = require(`./build/${common.buildType}/binding`);
66

7+
common.crashOnUnhandledRejection();
8+
79
let called = false;
810
testResolveAsync().then(() => { called = true; });
911

0 commit comments

Comments
 (0)