Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bd8de10
Add toMatchNamedSnapshot
bakamitai456 Mar 31, 2023
c5fe519
add to match named snapshot to expect
bakamitai456 Mar 31, 2023
35bbdeb
add test
bakamitai456 Mar 31, 2023
6841acf
add e2e testing
bakamitai456 Apr 3, 2023
7dfe361
add to throw error matching named snapshot with e2e
bakamitai456 Apr 4, 2023
b684d88
add unit test named snapshot
bakamitai456 Apr 4, 2023
9445a2f
add e2e toMatchNamedSnapshot with retries
bakamitai456 Apr 4, 2023
6fb5b85
add snapshot file
bakamitai456 Apr 5, 2023
f28f669
add types test
bakamitai456 Apr 5, 2023
14cf63d
add e2e concurrent testing
bakamitai456 Apr 5, 2023
ab462ea
add document
bakamitai456 Apr 7, 2023
c76bf56
fix lint
bakamitai456 Apr 9, 2023
c6ca50e
fixes changelog
bakamitai456 Apr 9, 2023
198fe2e
fixes code style
bakamitai456 Apr 10, 2023
79d3d7d
required snapshot name
bakamitai456 Apr 10, 2023
6b1a6ed
fixes properties
bakamitai456 Apr 10, 2023
735e503
edit e2e testing
bakamitai456 Apr 10, 2023
ed4e605
add e2e type test
bakamitai456 Apr 10, 2023
e3dc8fc
add more e2e type test
bakamitai456 Apr 10, 2023
7e7527a
remove unused overload
bakamitai456 Apr 10, 2023
cbbec0a
add validation on snapshot name
bakamitai456 Apr 10, 2023
77ae436
support array in properties matcher
bakamitai456 Apr 10, 2023
b7b81a1
remove unused function
bakamitai456 Apr 10, 2023
6327019
Apply suggestions from code review
bakamitai456 Apr 10, 2023
58acde3
remove fromPromise type
bakamitai456 Apr 11, 2023
23d8053
update tip on snapshot testing document
bakamitai456 Apr 16, 2023
78ddf16
Fixes alphabetic order
bakamitai456 Apr 16, 2023
435bdc8
Fixes docs
bakamitai456 Apr 16, 2023
9fccf7d
Update docs/SnapshotTesting.md
bakamitai456 Apr 16, 2023
3037070
Throw error when duplicate snapshot name
bakamitai456 Jun 14, 2023
5e58009
fix test
bakamitai456 Jun 15, 2023
acb42b0
fix the test
bakamitai456 Jun 16, 2023
f397e96
Merge branch 'main' into add-match-named-snapshot
SimenB Jun 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/SnapshotTesting.md
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
  • Loading branch information
bakamitai456 and mrazauskas committed Jun 15, 2023
commit 9fccf7d642a24995d199aa39b780e4b92f9bdad1
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