-
Notifications
You must be signed in to change notification settings - Fork 129
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
Cannot set property 'font' of undefined #131
Comments
rgevorgyan-vineti
changed the title
Cannot read property 'font' of undefined
Cannot set property 'font' of undefined
Jun 18, 2020
+1 |
+1 |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
Thanks for the library, it's great.
However, I have this issue when testing the component with jest and enzyme. When I use
width
prop the tests fail saying:I've searched through the issues and someone suggested importing
jest-mock-canvas
, which I did, but it does not help.The one thing I've found out is that the first test always passes and the other tests fail. Basically some issue with component mount. Anyone has some insight on this?
The text was updated successfully, but these errors were encountered: