Test with Jest
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

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.