-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Felipe Imperio
authored and
Felipe Imperio
committed
Aug 26, 2024
1 parent
5460f5c
commit 6b9bc2c
Showing
8 changed files
with
109 additions
and
30 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
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
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
70 changes: 70 additions & 0 deletions
70
src/shared/ui/tests/__snapshots__/CharacterCounter.test.tsx.snap
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,70 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`CharacterCounter Component Should render correctly with default props 1`] = ` | ||
<Text | ||
focusable={true} | ||
style={ | ||
[ | ||
{ | ||
"borderBottomWidth": 0, | ||
"borderLeftWidth": 0, | ||
"borderRightWidth": 0, | ||
"borderStyle": "solid", | ||
"borderTopWidth": 0, | ||
"color": "#72777F", | ||
"flex": 1, | ||
"fontSize": 14, | ||
"marginBottom": 2, | ||
"marginLeft": 2, | ||
"marginRight": 10, | ||
"marginTop": 2, | ||
"paddingBottom": 2, | ||
"paddingLeft": 2, | ||
"paddingRight": 2, | ||
"paddingTop": 2, | ||
}, | ||
] | ||
} | ||
> | ||
50 | ||
/ | ||
100 | ||
character_counter:characters | ||
</Text> | ||
`; | ||
|
||
exports[`CharacterCounter Component Should renders correctly with default props 1`] = ` | ||
<Text | ||
color="grey4" | ||
focusable={true} | ||
fontSize={14} | ||
style={ | ||
[ | ||
{ | ||
"borderBottomWidth": 0, | ||
"borderLeftWidth": 0, | ||
"borderRightWidth": 0, | ||
"borderStyle": "solid", | ||
"borderTopWidth": 0, | ||
"flex": 1, | ||
"fontWeight": "400", | ||
"marginBottom": 2, | ||
"marginLeft": 2, | ||
"marginRight": 10, | ||
"marginTop": 2, | ||
"paddingBottom": 2, | ||
"paddingLeft": 2, | ||
"paddingRight": 2, | ||
"paddingTop": 2, | ||
}, | ||
] | ||
} | ||
> | ||
50 | ||
/ | ||
100 | ||
character_counter:characters | ||
</Text> | ||
`; |