-
Notifications
You must be signed in to change notification settings - Fork 176
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 snapshot tests are failing with invariant Violation #163
Comments
Just got similar error in rollbar
the link contains
|
I get similar error with jest.
|
intentional beahviour by react-test-renderer @see facebook/react#7371 (comment) I will update the FAQ and do a pull request as soon as I can spare some time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
recently I've replaced mocha with jest and I love the snapshot testing feature. Unfortunately this does not work for components using the react-list. The tests are failing with an invariant violation:
Googling for this I found some react issues regarding react-test-renderer and react-dom imported by 3rd party libs. Now I am just mocking the react-list in the tests:
Does anyone have another solution?
Or even know whats going wrong in react internals?
Shall we add this to the FAQ section in the readme?
The text was updated successfully, but these errors were encountered: