-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue with Enzyme snapshots for components using an array as…
… the `css` prop (#2233) * test: create failing test case for #2139 * fix(@emotion/jest): internal props are serialized when child component has css prop (cherry picked from commit 2c32d546ad206a2ab255ef93f7bdf2e2a136dcf7) * fix(@emotion/jest): css array should work with serializer (cherry picked from commit 2a1a68424e8eb9a7c38b637f2a639024c667401b) * chore: add changeset (cherry picked from commit 2460754) (cherry picked from commit 7d3eb7942f798621c2e374fc9fa0fae8b555dd16) * test: update titles for tests * Update .changeset/two-laws-provide.md * Update snapshots Co-authored-by: Andrew Stephens <astephens@cainc.com> Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
- Loading branch information
1 parent
c9b57f3
commit 0c31ed0
Showing
4 changed files
with
124 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@emotion/jest': minor | ||
--- | ||
|
||
Fixed an issue with Enzyme snapshots for components using an array as the `css` prop - those should be printed OK now. |
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