-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle arrays when merging snapshots (#7089)
* add support for arrays when merging snapshots * update README * compare array by keys without converting to object * add support for arrays when merging snapshots * update README * compare array by keys without converting to object * jest-snapshot: fix ts errors in utils * jest-snapshot: use assert.deepStrictEqual to allow expect.any(String) instead of a dummy matcher * jest-snapshot: add test for more array elements in source than target
- Loading branch information
1 parent
f3e3d9f
commit 7e1e3f8
Showing
3 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters