-
Spike
-
Resolution: Unresolved
-
Undefined
-
None
-
openshift-4.19, openshift-4.20
-
False
-
None
-
False
-
-
Enzyme has lost support in React 17+. As a part of the React 18 upgrade, we need to transition our test suite away from Eznyme and towards react-testing-library.
As a part of the spike, we should figure out:
- How reliable is https://github.com/cfaester/enzyme-adapter-react-18? Can we rely it on it as a stop-gap for tests as they are being rewritten?
- How much effort will it take to rewrite all enzyme tests? How many tests are affected?
- Is the Jest upgrade a prerequisite for this process?
- How can we prevent further Enzyme tests from being written in the meantime?
Extra reading: https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl