Technical requirements
For the examples in this chapter, you will need to have Node.js installed on your machine. We will be using the create-react-app
CLI tool for all code examples. Please familiarize yourself with the tool before starting this chapter, if required. Code snippets will be provided throughout the chapter to understand the code under test, but the objective is to understand how to test the code.
You can find code examples for this chapter at https://github.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/tree/master/Chapter06.