Enzyme support with React seems to be dead - alternatives?

I am in the front-end developer path and have gotten to Enzyme testing. It seems that with React 17 that Enzyme no longer works and they do not plan on updating it with support. What should I do in terms of testing? I don’t really want to learn a system that isn’t in use any more. Are there good alternatives to this and tutorials on how to use them?

Thanks for any advice.

1 Like

I recommend React Testing Library.

It is covered in tutorials and CC also has a course on it.
It is also what’s recommended on the official React site: https://reactjs.org/docs/testing.html

1 Like

The course @mike7127143742 mentioned can be found here: https://www.codecademy.com/learn/learn-react-testing
It also contains lessons about another Testing library Jest.

1 Like

Thanks! I’ll take a look.

Thanks for the link!

1 Like