-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
cli: allow --test-[name/skip]-pattern
in NODE_OPTIONS
#53001
Conversation
Just an FYI - this does not fix #51384. |
Why? If these options can be passed as env variables, then they won't be hostile to NPM scripts, as they can be used in the variable? Right? |
The ask in that issue is to be able to run something like I'm not saying this is a bad change, but this is not what is being requested and I don't think people will be satisfied with it for that use case. |
@RedYetiDev are you planning to pursue this? |
Sure, I didn't realize there were conflicts. I'll fix them now :-) |
Conflicts resolved |
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.
LGTM if the CI passes.
CI is passing except for unrelated failures :-) |
Landed in 59da1df |
PR-URL: #53001 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: #53001 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
workaround for #51384
Allows
--test-name-pattern
and--test-skip-pattern
to appear in theNODE_OPTIONS
environment variable.