From 1d5074a2747cf3d70a8adfb6710a7b0893c2191d Mon Sep 17 00:00:00 2001 From: satyam bansal Date: Mon, 10 Aug 2020 14:29:21 +0530 Subject: [PATCH] Update the term "mobile app" to "web app" in snapshot testing documentation (#10359) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Co-authored-by: Michał Pierzchała --- CHANGELOG.md | 1 + docs/SnapshotTesting.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 457da1fd06b0..c622bdf254bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 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