-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
TypeError: require(...).getViewManagerConfig is not a function #23171
Comments
Can you reproduce this issue in a fresh |
@kelset I believe it would be the same since js side code will be same. If you'd like for me to try this out, it may take time because I have to move all configs and codes to new project. P.S. |
@kelset I've found the solution. I had to mock like below in previous react-native version when using
When I remove above, everything works fine. |
Hey @hyochan, Im still getting the errors testing a project with latest react-navigation/react-native-gesture-handler versions.
and if add try to tweak Native-Modules , i get the above error . Cant find a way To get jest work with |
Environment
Description
Run
jest
will throw below error in[email protected]+
in flow project (typescript project is ok).Reproducible Demo
git clone https://github.com/hyochan/talktalk-rn.git
.npm install
.git checkout ReactNative0.58.1
.jest -u
.The text was updated successfully, but these errors were encountered: