-
Notifications
You must be signed in to change notification settings - Fork 135
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
Running jest tests rendering components created with createText() cause tests to fail with an exception #165
Comments
@tonyseing I just bumped into this same error. Did you happen to find a solution? |
@timgremore I added a mock in my jest tests. Found this solution in another issue ticket here but it suited my case perfectly for the timebeing:
|
@tonyseing This ended up being an invalid style prop ( |
@timgremore thanks for the tip! I'll give this another look-see |
On my side I figure it out by removing |
Is this still an issue? If so, could you provide full reproduction steps? |
For me helped answer from this closed ticket: #102 (comment) |
For me, I was moving the Example:
|
I'm writing a jest test case that renders a Text component created from the following line of code:
export const Text = createText<IotTheme>();
I receive a resulting error:
The text was updated successfully, but these errors were encountered: