This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 167
Update Enzyme to v3.x #871
Milestone
Comments
4 tasks
@emilyrohrbough Haven't had a chance to look into this, do you know, is enzyme v3 compatible with react v15, or is it only compatible with react v16? |
V3 requires the configuration of a react adaptor, where the adaptor chosen is the react version listed as the project dependency. The configuration appears to be simple, including the following in a setup file:
I'm not sure yet how this would tie in with our monorepo structure and current jest setup that creates global enzyme methods. To be compatible with React 15 we will need to use the |
I'd think it would be sufficient to just use |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Description
This is the most up-to-date version, plus v3.x provides support for > React 16! 馃帀 They authors have even provided a v2 to v3 migration guide.
Issue Type
The text was updated successfully, but these errors were encountered: