The Wrapper Object
In this lesson, we will learn about the main object of `vue-test-utils: the Wrapper Object.
So far, we’ve made tests using Jest Snapshots. In most cases, that’s what we’ll use, but sometimes we want to assert something more specific.
Although you can access the Vue instance via cmp.vm
, you have a set of utilities at your disposal to make it easier. Let’s see what we can do. ...
Access this course and 1400+ top-rated courses and projects.