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!

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