-
-
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
deprecationEntries
should be injected from jest-validate
from jest-config
.
#5828
Comments
Ugh, I don't think that's a good idea, because I agree however that needs to change. We should pass this object as third argument to |
deprecationEntries
from jest-config
to jest-validate
.deprecationEntries
should be injected from jest-validate
from jest-config
.
This is causing some issues in other whatever. lint-staged/lint-staged#414 |
|
Closed in #6067 |
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?
I guess it'd be a feature.
What is the current behavior?
jest-validate
requiresjest-config
to get thedeprecationEntries
function. This means consumers ofjest-validate
also have to install all the dependencies ofjest-config
, such asjest-environment-jsdom
.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
.What is the expected behavior?
jest-validate
should containdeprecationEntries
.Please provide your exact Jest configuration
Run
npx envinfo --preset jest
in your project directory and paste theresults here
The text was updated successfully, but these errors were encountered: