Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3d86f32

Browse filesBrowse files
jimliu7434gibfahn
authored andcommitted
test: use common.crashOnUnhandledRejection
Add common.crashOnUnhandledRejection to test-async-wrap-promise-after-enabled.js PR-URL: #17231 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9197f0c commit 3d86f32
Copy full SHA for 3d86f32

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-async-wrap-promise-after-enabled.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-promise-after-enabled.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const async_hooks = require('async_hooks');
99

1010
const seenEvents = [];
1111

12+
common.crashOnUnhandledRejection();
13+
1214
const p = new Promise((resolve) => resolve(1));
1315
p.then(() => seenEvents.push('then'));
1416

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.