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 474f857

Browse filesBrowse files
Kurt Hsugibfahn
authored andcommitted
test: use common.crashOnUnhandledRejection
PR-URL: #17229 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c95ccfd commit 474f857
Copy full SHA for 474f857

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/async-hooks/test-promise.js‎

Copy file name to clipboardExpand all lines: test/async-hooks/test-promise.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
'use strict';
22

33
const common = require('../common');
4+
45
const assert = require('assert');
56
const initHooks = require('./init-hooks');
67
const { checkInvocations } = require('./hook-checks');
78

9+
common.crashOnUnhandledRejection();
10+
811
const hooks = initHooks();
912

1013
hooks.enable();

0 commit comments

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