Skip to content

Commit

Permalink
Update SnapshotTesting.md (#7671)
Browse files Browse the repository at this point in the history
  • Loading branch information
roachjc authored and rickhanlonii committed Jan 21, 2019
1 parent fbd4f53 commit 1124953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Snapshot Testing

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

A typical snapshot test case for a mobile app renders a UI component, takes a screenshot, then compares it to a reference image stored alongside the test. The test will fail if the two images do not match: either the change is unexpected, or the screenshot needs to be updated to the new version of the UI component.
A typical snapshot test case for a mobile app 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.

## Snapshot Testing with Jest

Expand Down

0 comments on commit 1124953

Please sign in to comment.