vazco / uniforms

A React library for building forms from any schema.
https://uniforms.tools
MIT License
1.92k stars 239 forks source link

Migrate tests from Enzyme to React Testing Library #1130

Open radekmie opened 2 years ago

radekmie commented 2 years ago

As Enzyme is no longer supported and we already rely on a community-made workaround for React v17 and there's nothing sure for v18 we should push for getting rid of it entirely.

Support for v18 was requested in #1109 and added in #1129.

radekmie commented 2 years ago

Maybe we could try https://github.com/enzymejs/enzyme/issues/2524#issuecomment-1117039658 to buy us more time?

ErnestTeluk commented 2 years ago

Maybe we could try enzymejs/enzyme#2524 (comment) to buy us more time?

Unfortunately it did not work (tested on react 17), when it comes to react 18 there is one more blocker which is https://github.com/facebook/docusaurus/issues/7264 . So we have to wait for docusaurus 3.0 to come out anyway

kestarumper commented 5 months ago

This is a "current" state of knowledge of what we finished and what still needs to be done.

Done

Review

In Progress

TODO