Table of Contents

Test - Snapshot testing (UI)

About

Snapshot testing refers to the practice of recording the known good output of a component for a given input and then flagging the component whenever the output changes in future.

With a snaphost test if the test failed, it should prompted us to verify the changes and to update them if necessary

Example:

› 3 snapshots failed from 1 test suite. Inspect your code changes or press `u` to update them.

List