Snapshot Testing captures the output of a component at a given point in time and compares it to future outputs to detect any changes.
How does Snapshot Testing work?
Snapshot Testing saves a component’s output as a reference and compares future outputs to ensure consistency and detect unexpected changes.