DEV Community 👩‍💻👨‍💻


Posted on

Testing React with Jest and Enzyme

There are some common themes around what is tested in frontend applications (despite the framework). And there are different approaches used for testing the same behaviour.

After having repeated conversations about different testing strategies, I have started putting together some commonly used patterns when testing React applications with Jest and enzyme.


Please take a look at the following repository. Lets discuss over comments :)

Top comments (1)

andrewsmith1996 profile image
Andrew Smith

This is great - thank you! Great introduction to the practice and actual implementation of unit tests :)

Tired of sifting through your feed?

Find the content you want to see.

Change your feed algorithm by adjusting your experience level and give weights to the tags you follow.