Rapid Testing with Vitest: Master Unit Testing & Mocking
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Intro to Mocking and Spying

In real-world programming, functions commonly exist with side effects. Mocking and spying are the common tool for testing these side effects and Vitest comes with first class support of both!