NOTE: This article was originally posted on Medium

How should I unit test my code-Part 1 (Setup)

To keep the articles shorter, the HOW topic for unit testing has been split into two parts. In this article, which is the first part, we will set up Jest and Enzyme to get started with. In the second(yet to publish) part, we will see examples for testing the React, Redux code.