When a Test Fails
In this lesson, we'll learn about what to do when a test fails in Snapshot Testing.
We'll cover the following
The snapshots generated are the source of truth for deciding if a test is valid or not. That’s the way regressions are checked, and in the end, it depends on your criteria.
Example
For example, go to the ContactBox.vue
component and change the fullName
computed prop to be separated by a comma:
Get hands-on with 1200+ tech skills courses.