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

Test with Jest

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

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.