DEV Community

Discussion on: Upgrading to React 17

Collapse
keonik profile image
John Fay Author

Would you still need that if you’re using testing-library/react?

Collapse
sesamechicken profile image
sesamechicken

My guess is no, as you’re not dependent on enzyme. But, I’d have to stand up a test project or look at the testing-library repo

Thread Thread
keonik profile image
John Fay Author

I switched from enzyme to testing-library about a year and half ago. I honestly don’t remember enzyme much already. I do enjoy testing library’s access methods.

Thread Thread
sesamechicken profile image
sesamechicken

I should take a look! I primarily stick with jest because the test suites behave and are constructed for front end and back end (node) code.

Thread Thread
keonik profile image
John Fay Author

It’s still jest. It’s just an alternative for rendering components to enzyme. Yeah try it out!