TextDecoder not defined running tests with Jest #1968
Unanswered
matheusrocha89
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a unit test with my email template just to make sure the props passed are rendered correctly.
I am using the
Jest
and@testing-library/react
. When I run the tests I get this error:I should not use the testing-library to render and assert the results in the screen?
(BTW, nice job with the email preview, so much better to test the design while developing the code)
Beta Was this translation helpful? Give feedback.
All reactions