Testing a Component with vue-test-utils

In this lesson, we will test components using the technique of Shallow Rendering.

We'll cover the following

Adopting Shallow Rendering

vue-test-utils provide us with Shallow Rendering among other features. We could rewrite the previous test as follows:

Get hands-on with 1400+ tech skills courses.