DEV Community

Suganthi
Suganthi

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.

Github: https://github.com/enthudrives/testing_with_jest_enzyme

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

Top comments (1)

Collapse
 
andrewsmith1996 profile image
Andrew Smith

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