This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Look into replacing Enzyme with ReactTestUtils #577
Comments
Can you add the link to the Enzyme ticket? |
Done in #583 |
[moved to #559] |
also ReactTestUtils only are for react-dom I think |
Not this ticket, I think, because this ticket was about removing enzyme. And what’s the problem with ReactTestUtils being liited to react-dom? |
React-dom is only for the web |
Alright, I'll bring #559 back to life |
Hrm, afaik ReactTestUtils is supposed to work fine with RN. |
They require a DOM, which RN doesn't have, for example:
Doesn't load: |
Ah right, you’ll probably need to add JSDOM or something |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Enzyme doesn't support the new version of React, and it could become difficult to maintain in the future. We should try to use the ReactTestUtils instead.
The text was updated successfully, but these errors were encountered: