Lesson

Unit test a Vue component with Jest

In this lesson, we'll use Jest to unit test a Counter component built with Vue. Vue's baked in testing library provides the necessary functionality to render components, invoke methods, and make assertions.

Duration
5 min
Access
Free
Transcript
Available

In this lesson, we'll use Jest to unit test a Counter component built with Vue. Vue's baked in testing library provides the necessary functionality to render components, invoke methods, and make assertions.

Additional Resources

https://vue-test-utils.vuejs.org/