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 dc4aa89

Browse filesBrowse files
jimliu7434MylesBorins
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 9bf2da3 commit dc4aa89
Copy full SHA for dc4aa89

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.