-
Notifications
You must be signed in to change notification settings - Fork 256
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
Snapshot testing #147
Comments
@alcferreira Can you make a demo repo to reproduce this issue? |
@sanniassin sure, the repository is open-source: https://github.com/CraveFood/farmblocks Setup project
Steps to reproduce:
Story file can be found here: https://github.com/CraveFood/farmblocks/blob/master/packages/input-text/src/TextInput.story.js The output should be
Let me know if you need anything else (: |
Fixed in 2.0.3 |
Hey people!
I'm trying to use this lib with snapshots testing and I'm getting an error.
Here's the stack trace:
The error happens here
react-input-mask/tests/input/input.js
Line 20 in 8de2f69
This issue may be related with the use of
ReactDOM.findDOMNode
react-input-mask/tests/input/input.js
Line 16 in 8de2f69
Docs
https://reactjs.org/docs/react-dom.html#finddomnode
The text was updated successfully, but these errors were encountered: