-
Notifications
You must be signed in to change notification settings - Fork 263
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
Jest failed after upgrade to react-native 0.64 #703
Comments
Check the path to the file that has unsupported syntax ( Would you like to contribute a fix to the docs? :) transformIgnorePatterns: [
- 'node_modules/(?!(jest-)?react-native|@react-native-community|@react-navigation)',
+ 'node_modules/(?!(jest-)?@?react-native|@react-native-community|@react-navigation)',
] |
Hi, @thymikee thanks for the help. Unfortunately, I ran into another error mocking |
Check if |
ahh okay, replaced with |
How about that PR you'd like to send to our docs? :) |
Sure bro. I'll create a PR shortly |
This doesn jest.config.js
|
I have the same problem. Your fix does not work for me. |
any solution? |
@Jaserto, @YaroslavRenhevych please refer out the recommended RNTL setup in our |
Describe the bug
Recently I upgraded my project to 0.64 version and faced this issue when I run jest. The same error happened even after I tried with a fresh react-native project with package
react-navigation
.Expected behavior
Jest should be completed without error.
Steps to Reproduce
react-navigation
packagesScreenshots
Versions
Please help. Thanks in advance 🙏🏿
The text was updated successfully, but these errors were encountered: