You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we maybe had several Jest configs at some point, and so used a folder to clean up the root somewhat.
After the changes in #12689, it looks like babel is configured to not look for a config file further up than the folder of the Jest configuration file. In our case, that means jest/ is the end of the line. Babel would not find babel.config.js, and things would break on the first import.
When I moved the Jest config to the same directory as our Babel config everything started working just fine:
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Version
28.0.2
Steps to reproduce
yarn jest
Expected behavior
I expect it to pass as in jest 27
Actual behavior
Additional context
I assume it has something to do with the babelRoot update, but I cannot figure out what changes I need to make to my setup to make it work.
Environment
The text was updated successfully, but these errors were encountered: