Unit Testing Complex React Components With Jest & Enzyme
This article covers testing React components that do things like conditional rendering, click listening and making HTTP requests. I cover the process and methods needed to test 2 React components constructed using the new functional style (with Hooks and so on) and some common pitfalls to avoid when testing React components.