-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: remove useless require('../common') from WPTs #46796
Conversation
Landed in 11e37e0 |
PR-URL: #46796 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
@panva this broke tests in v18.x-staging. do you mind opening a backport PR? |
PR-URL: nodejs#46796 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Backport-PR-URL: https://github.com/nodejs/node/pull/?????
PR-URL: nodejs#46796 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Backport-PR-URL: nodejs#47506
Didn't break anything, just didn't land clean. #47506 |
FWIW, the reason for the inclusion was because that adds a check on exit for leaking things into the global space. |
Which some of the WPTs explicitly do to be able to run 🤷♂️. But they do so in their own spawned workers the WPTs execute in. |
PR-URL: nodejs#46796 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Backport-PR-URL: nodejs#47506
PR-URL: nodejs#46796 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Backport-PR-URL: nodejs#47506
PR-URL: #46796 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Backport-PR-URL: #47506
Removes the need to put a useless
require('../common');
at the top of every WPT startup file.