-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: use common.crashOnUnhandledRejection to test-promise.js #17229
Conversation
@@ -1,6 +1,10 @@ | |||
'use strict'; | |||
|
|||
const common = require('../common'); | |||
common.crashOnUnhandledRejection(); | |||
|
|||
// This test ensures that the promise handling resolution correctly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this comment is necessary, can you please remove it
@@ -1,6 +1,10 @@ | |||
'use strict'; | |||
|
|||
const common = require('../common'); | |||
common.crashOnUnhandledRejection(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please move this after all the require statements
Fixing the nits on landing |
PR-URL: #17229 Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 01dc6d2! Thank you and congrats on the PR to core! |
PR-URL: #17229 Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #17229 Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #17229 Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #17229 Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)