Courses

Test with Jest - Hands on TDD - The Record Method

In this lesson, we'll continue our test-driven development journey by creating a method that adds items to our model. We'll also find a great use case for a spy that will verify that our methods are called correctly.