Use official Enzyme test adapter when it is available for React 17
grahamalama opened this issue · 3 comments
grahamalama commented
In order to bump React to the latest version in #2209, we had to install an unofficial Enzyme adapter that supported React 17. When Enzyme releases a test adapter that supports React 17 (tracked here), we should uninstall the unofficial package and use the official Enzyme package.
grahamalama commented
I dug back into this issue a bit, and based on the latest additions to this thread, it's not looking good for Enyzme.
Might be time for https://testing-library.com/docs/react-testing-library/migrate-from-enzyme/ instead
alexcottner commented
I agree, let's change this issue into a "migrate to react-testing library" issue.
alexcottner commented
PR has been merged. Enzyme has been removed. Marking issue as closed, although we have more work to follow up on.