#589·takenote

Snapshot tests

Author: adj2908Created Sep 2, 2022Updated Aug 26, 2023
LabelsType: Feature

Hi @taniarascia ,

I would like to contribute to this project by adding snapshot tests, how can I proceed with it?

Few details on snapshot tests. Snapshot tests are a very useful tool whenever you want to make sure your UI does not change unexpectedly.

A typical snapshot test case renders a UI component, takes a snapshot, then compares it to a reference snapshot file stored alongside the test. The test will fail if the two snapshots do not match: either the change is unexpected, or the reference snapshot needs to be updated to the new version of the UI component

Thanks.