-
Notifications
You must be signed in to change notification settings - Fork 1
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
ReactCompositeComponent: injectEnvironment() can only be called once. #1
Comments
I figured that your package is set to use enzyme instead of react-test-renderer. |
FYI, I used More about this error, you can find in jestjs/jest#1353 Thank you. |
You are using locally cached version of react-native-mock, which doesn't work with latest react-native. I changed the mock in env.js Which makes it work. |
I updated to latest |
Cool Thanks! |
Thank you, |
I encountered this error when using react-test-renderer.
Any idea how it can be fixed?
The text was updated successfully, but these errors were encountered: