Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Test with Jest

Get access to this course, 18 others, and 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.