You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
Enzyme does not support React 18, and there are no plans from the maintainers or community to support it. (https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl) So it is blocking us from ever updating React.
We only use enzyme in 2 places, so it should be extremely easy to replace it.
The cleanest way is to rewrite the tests with react-testing-library.
The probably quicker way, which is just as good, is to follow https://openedx.atlassian.net/wiki/spaces/BPL/pages/3782508545/Replacing+Enzyme+for+React+Shallow+Unit+Testing.
The text was updated successfully, but these errors were encountered: