-
-
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 request: jest.requireActual #4137
Comments
Ok for me. What do you think @cpojer? |
Yap, that's gonna be a gigantic codemod incoming for FB, so I suggest adding jest.requireActual, codemodding, and deprecating the other one. One problem you'll have with this is that Jest's static analysis doesn't look at |
good point! i'll add a codemod |
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. |
when we patch the original
require
it becomes very hard to type tests.i think we should move everything that is jest specific to
jest
object and have consistent type information for itThe text was updated successfully, but these errors were encountered: