diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ba9036ea887..6367e381a36d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Fixes - `[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 diff --git a/docs/SnapshotTesting.md b/docs/SnapshotTesting.md index 76e19aa36f82..87e3709bbea5 100644 --- a/docs/SnapshotTesting.md +++ b/docs/SnapshotTesting.md @@ -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