-
-
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
Multi-project runner can't find some mocks #4119
Comments
@aaronabramov I believe the reason for this one is that the two configs live in the same folder (or run in the same rootDir) and don't have a |
If the above hypothesis is correct, this has been fixed by #5862 |
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?
Bug.
What is the current behavior?
In some cases (can't determine when) Jest "loses" some mocks with multi-project runner and emits weird messages.
You can reproduce by cloning facebook/react#10273 and running
npm test
. Many failures are expected but these (about missing files) are not.What is the expected behavior?
Jest can find mocked modules when running with multi-project runner.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Please use facebook/react#10273 as a base.
The text was updated successfully, but these errors were encountered: