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
Fail snapshot test after including the typeahead #139
Comments
I'm going to need more info: version? code sample? This doesn't sound on the surface like an issue with the component, though. |
version: 1.0.0-beta5 Code sample:
Snapshot test:
|
Your date picker code looks correct to me. I'm not familiar with how to write tests using Jest, though, so I can't tell you what's wrong there. |
Looks like the test-renderer might not work with refs or |
Looks like this is the case, since I've seen findDOMNode used in the typeahead component. |
Seems like it, unfortunately. |
Although I am able to make the typeahead function in browser, but it mysteriously failed the snapshot test. It shows this error message.
Invariant Violation: getNodeFromInstance: Invalid argument.
Need help on this one as the error messages aren't that helpful pin pointing me the issue.
The text was updated successfully, but these errors were encountered: