Testing should make us confident. Confident that our software does what we think it does, and that it will continue to do so as we pile up features.
But testing UI components rarely breeds confidence. Instead, it often makes us feel angry and unproductive. Let's look the beast in the eye and talk about a set of tools that make testing React components as easy as writing them. We'll learn how to mock component props, state, Redux state, app context from wrapper components, as well as API responses, without copy pasting boilerplate from one test to another.