Unit testing: Testing the smallest piece of code that can be isolated.
Integration testing: Combining individual modules and testing them together
E2E testing: Simulating a real end user’s experience
In this chapter, you will learn how to unit test a React app like a pro.
When it comes to unit testing, there are many libraries that can be used with React such as Jest, Enzyme, Sinon, Mocha, Chai, Ava, and Tape. These libraries are ...