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

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

How to Update Snapshots

Sometimes updates are expected and you need to update a snapshot to match the new result. In this lesson, learn how to update snapshots in Vitest using either the keyboard shortcut or the CLI flag.

Links