-
-
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
Allow jest-validate to print deprecation warnings for CLI flags #5522
Comments
Is this taken? Can I work on this? |
@Aftabnack not taken :) |
It's mine then. 😉 |
And also, I am assuming that the above file contains the master list of all the options that can be configured. |
I think that makes sense! 🙂 @thymikee knows this part of the code better than me, though |
Also, we don't merge CLI flags with the IMO, we should have CLI flags override it's values specified in the config. |
I agree. Separate issue, though |
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. |
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When
jest-validate
was created in #2524, it came with support for printing deprecation warnings in configuration.If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can
yarn install
andyarn test
.N/A
What is the expected behavior?
It would be great if we could also print deprecation warnings for CLI flags in the same way. Currently unknown flags throws (which makes sense to catch typos), but it would be great to alert users of removed (or altered) options in a semver-compliant way.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
Jest@master
The text was updated successfully, but these errors were encountered: