-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add snapshot with reversed prop
- Loading branch information
Kyrylo Hudym-Levkovych
authored and
Kyrylo Hudym-Levkovych
committed
Oct 10, 2023
1 parent
7e382dc
commit 687e70a
Showing
2 changed files
with
33 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,29 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<Stack /> correct rendering renders with the reversed prop 1`] = ` | ||
<div> | ||
<div | ||
class="pgn__vstack pgn__stack-reversed" | ||
> | ||
<div> | ||
Second | ||
</div> | ||
<div> | ||
First | ||
</div> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`<Stack /> correct rendering renders without props 1`] = ` | ||
<div | ||
className="pgn__vstack" | ||
> | ||
content | ||
<div> | ||
First | ||
</div> | ||
<div> | ||
Second | ||
</div> | ||
</div> | ||
`; |