-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Feature]: Throw when multiple configs are found #12506
Comments
I could, but this seems like a great |
Yeah, good idea! |
I would like to work on this issue, can i take it? |
ok, i get it, thanks! |
@TrickyPi And please do fix this tiny todo (the line was introduced with the above mentioned PR, Node 10 is not supported anymore so time to fix): |
okay |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🚀 Feature Proposal
#11922 implemented a warning which is printed when multiple configs are found. It was decided to add this feature as a warning, because throwing an error would be a breaking change.
Seems like now it is good time to refactor the warning into an error.
@jankaifer Would you be interested? Perhaps?
Motivation
Running Jest after several configs were detected is rather indeterministic. Failing early with informative message makes Jest better.
Example
No response
Pitch
It is already in the core (;
The text was updated successfully, but these errors were encountered: