When writing tests for our React code, it is helpful to pull out any functionality that doesn't have to do with our UI components into separate modules, so that they can be tested separately. In this lesson, we will take a look at a React component and how we can pull out some of its generic utility logic into a separate module. We will then write some tests for that module.
It would be useful if the sample code for this video series was broken down into separate branches or tags in the git repo to match each lesson to make it easier to follow along by coding and then refreshing to get the sample solution.
I totally agree. It would make following along with the lesson so much easier.
Thanks for the feedback Martin and Joe
yeah, kinda sucks that we cannot follow along
code with 2017-2018 dependencies:
https://github.com/andfelzapata/react-testing-book