This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
Migrate Enzyme tests to React Testing Library #5123
Labels
type: technical debt
This issue/PR represents/solves the technical debt of the project.
Is your feature request related to a problem? Please describe.
Not a problem per se, just some tech debt.
Describe the solution you'd like
All tests written using Enzyme be ported to React Testing Library, and the Enzyme dependency removed.
Describe alternatives you've considered
None. 😛
Should this be prioritized? Why?
For the next cooldown, sure. It would be best to avoid new tests being written in Enzyme - if there aren't any to be used as examples, it's highly unlikely they'll be written in anything other than RTL.
Additional context
https://github.com/woocommerce/woocommerce-admin/search?q=enzyme&unscoped_q=enzyme
The text was updated successfully, but these errors were encountered: