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

Closed
jeffstieler opened this issue Sep 10, 2020 · 1 comment
Closed

Migrate Enzyme tests to React Testing Library #5123

jeffstieler opened this issue Sep 10, 2020 · 1 comment
Labels
type: technical debt This issue/PR represents/solves the technical debt of the project.

Comments

@jeffstieler
Copy link
Contributor

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

@jeffstieler jeffstieler added cooldown period type: technical debt This issue/PR represents/solves the technical debt of the project. labels Sep 10, 2020
@jeffstieler
Copy link
Contributor Author

Closed in #5299.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: technical debt This issue/PR represents/solves the technical debt of the project.
Projects
None yet
Development

No branches or pull requests

1 participant