gravity-pdf icon indicating copy to clipboard operation
gravity-pdf copied to clipboard

Remove Enzyme from Jest Test Suite and Replace with React Testing Library

Open jakejackson1 opened this issue 2 years ago • 0 comments

Description Enzyme is officially dead, does not support React 18, and will need to be replaced with the React Testing Library.

https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl https://testing-library.com/docs/react-testing-library/migrate-from-enzyme

For now the Jest tests run in React 17 mode with a deprecated warning, but we'll need to put in the time and refactor them all.

jakejackson1 avatar Jul 11 '22 03:07 jakejackson1