Skip to content

Commit

Permalink
Update docs/SnapshotTesting.md
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Mrazauskas <[email protected]>
  • Loading branch information
bakamitai456 and mrazauskas committed Apr 24, 2023
1 parent 477e2f3 commit 6614da3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,6 @@ Now, every time the snapshot test case runs, `Date.now()` will return `148236336

Always strive to use descriptive test and/or snapshot names for snapshots. The best names describe the expected snapshot content. This makes it easier for reviewers to verify the snapshots during review, and for anyone to know whether or not an outdated snapshot is the correct behavior before updating.

:::

For example, compare:

```js
Expand Down

0 comments on commit 6614da3

Please sign in to comment.