Skip to content

Commit

Permalink
Update the term "mobile app" to "web app" in snapshot testing documen…
Browse files Browse the repository at this point in the history
…tation (#10359)

* Update Snapshot testing doc

Change the mobile app to web app in documentation

* Update CHANGELOG.md

* Update docs/SnapshotTesting.md

Co-authored-by: Michał Pierzchała <[email protected]>

Co-authored-by: Michał Pierzchała <[email protected]>
  • Loading branch information
satyambnsal and thymikee authored Aug 10, 2020
1 parent 7723ae2 commit 1d5074a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

- `[jest-leak-detector]` Wait properly for GC runs due to changes in Node 14.7 ([#10366](https://github.com/facebook/jest/pull/10366))
- `[jest-worker]` Downgrade minimum node version to 10.13 ([#10352](https://github.com/facebook/jest/pull/10352))
- `[docs]` Update snapshot testing documentation([#10359](https://github.com/facebook/jest/pull/10359))

### Chore & Maintenance

Expand Down
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 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.
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.

## Snapshot Testing with Jest

Expand Down

0 comments on commit 1d5074a

Please sign in to comment.