Skip to content
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

chore: upgrade enzyme to latest #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

chore: upgrade enzyme to latest #75

wants to merge 1 commit into from

Conversation

mtliendo
Copy link

Enzyme is on the latest version to allow easier transition to later versions of React. Note that cDM is automatically called on shallow rendering in this version, thus allowing for quicker test runs since the needs for mounting is greatly minimized.

Tests were updated to allow coverage to remain the same. Notable breaking changes seemed to be that .get() returns the actual react element as opposed to an enzyme-wrapper, but other than that, I didn't see anything else.

For a complete reference, please refer to the migration docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant