Skip to content

Commit

Permalink
fixup test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 1, 2024
1 parent a2a8882 commit 31603d1
Show file tree
Hide file tree
Showing 12 changed files with 1,879 additions and 1,879 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`AvatarNetwork should render correctly 1`] = `
<AvatarBase
size="32"
style={
Object {
{
"alignItems": "center",
"justifyContent": "center",
}
Expand All @@ -14,12 +14,12 @@ exports[`AvatarNetwork should render correctly 1`] = `
onError={[Function]}
resizeMode="contain"
source={
Object {
{
"uri": "https://assets.coingecko.com/coins/images/279/small/ethereum.png?1595348880",
}
}
style={
Object {
{
"height": 32,
"width": 32,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`BadgeNetwork - snapshots should render badge network correctly 1`] = `
<BadgeBase
onLayout={[Function]}
style={
Object {
{
"alignItems": "center",
"aspectRatio": 1,
"height": "50%",
Expand All @@ -18,27 +18,27 @@ exports[`BadgeNetwork - snapshots should render badge network correctly 1`] = `
>
<Avatar
imageSource={
Object {
"default": Object {
{
"default": {
"uri": "MockImage",
},
}
}
name="Ethereum"
size="32"
style={
Object {
{
"borderColor": "#FFFFFF",
"borderWidth": 2,
"shadowColor": "#0000001A",
"shadowOffset": Object {
"shadowOffset": {
"height": 2,
"width": 0,
},
"shadowOpacity": 1,
"shadowRadius": 4,
"transform": [
Object {
{
"scale": 1,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`PickerNetwork renders correctly 1`] = `
<TouchableOpacity
onPress={[Function]}
style={
Object {
{
"alignItems": "center",
"alignSelf": "center",
"backgroundColor": "#F2F4F6",
Expand All @@ -17,7 +17,7 @@ exports[`PickerNetwork renders correctly 1`] = `
>
<View
style={
Object {
{
"alignItems": "center",
"backgroundColor": "#FFFFFF",
"borderRadius": 8,
Expand All @@ -32,12 +32,12 @@ exports[`PickerNetwork renders correctly 1`] = `
onError={[Function]}
resizeMode="contain"
source={
Object {
{
"uri": "https://assets.coingecko.com/coins/images/279/small/ethereum.png?1595348880",
}
}
style={
Object {
{
"height": 16,
"width": 16,
}
Expand All @@ -49,7 +49,7 @@ exports[`PickerNetwork renders correctly 1`] = `
accessibilityRole="text"
numberOfLines={1}
style={
Object {
{
"color": "#24272A",
"flexShrink": 1,
"fontFamily": "Euclid Circular B",
Expand All @@ -69,7 +69,7 @@ exports[`PickerNetwork renders correctly 1`] = `
height={12}
name="ArrowDown"
style={
Object {
{
"height": 12,
"width": 12,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View
style={
Object {
{
"paddingVertical": 16,
}
}
Expand All @@ -12,7 +12,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#24272A",
"fontFamily": "Euclid Circular B",
"fontSize": 14,
Expand All @@ -30,7 +30,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
onGestureHandlerEvent={[Function]}
onGestureHandlerStateChange={[Function]}
style={
Object {
{
"backgroundColor": "#FFFFFF",
"height": "85%",
"paddingHorizontal": 16,
Expand All @@ -41,7 +41,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View>
<View
style={
Object {
{
"alignItems": "center",
"flexDirection": "row",
"gap": 20,
Expand All @@ -54,7 +54,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View
onLayout={[Function]}
style={
Object {
{
"alignSelf": "flex-start",
"position": "relative",
}
Expand All @@ -64,7 +64,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View>
<View
placeholderStyle={
Object {
{
"backgroundColor": "#F2F4F6",
}
}
Expand All @@ -76,24 +76,24 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
onError={[Function]}
onLoadEnd={[Function]}
placeholderStyle={
Object {
{
"backgroundColor": "#F2F4F6",
}
}
source={
Object {
{
"uri": "https://example.com/usdt.png",
}
}
style={
[
Object {
{
"borderRadius": 25,
"height": 50,
"overflow": "hidden",
"width": 50,
},
Object {
{
"height": 32,
"width": 32,
},
Expand All @@ -103,7 +103,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View
collapsable={false}
style={
Object {
{
"bottom": 0,
"left": 0,
"opacity": 1,
Expand All @@ -116,16 +116,16 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View
style={
[
Object {
{
"borderRadius": 25,
"height": 32,
"overflow": "hidden",
"width": 32,
},
Object {
{
"backgroundColor": "#eee",
},
Object {
{
"backgroundColor": "#F2F4F6",
},
]
Expand All @@ -136,7 +136,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
</View>
<View
style={
Object {
{
"alignItems": "center",
"aspectRatio": 1,
"height": 0,
Expand All @@ -145,10 +145,10 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
"right": 0,
"top": 0,
"transform": [
Object {
{
"translateX": 0,
},
Object {
{
"translateY": -0,
},
],
Expand All @@ -158,7 +158,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<View
onLayout={[Function]}
style={
Object {
{
"alignItems": "center",
"aspectRatio": 1,
"height": "50%",
Expand All @@ -172,7 +172,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
>
<View
style={
Object {
{
"alignItems": "center",
"backgroundColor": "#F2F4F6",
"borderColor": "#FFFFFF",
Expand All @@ -182,14 +182,14 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
"justifyContent": "center",
"overflow": "hidden",
"shadowColor": "#0000001A",
"shadowOffset": Object {
"shadowOffset": {
"height": 2,
"width": 0,
},
"shadowOpacity": 1,
"shadowRadius": 4,
"transform": [
Object {
{
"scale": 1,
},
],
Expand All @@ -200,7 +200,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#24272A",
"fontFamily": "Euclid Circular B",
"fontSize": 16,
Expand All @@ -221,7 +221,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#24272A",
"fontFamily": "Euclid Circular B",
"fontSize": 16,
Expand All @@ -236,7 +236,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#535A61",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 14,
Expand All @@ -253,7 +253,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
</View>
<View
style={
Object {
{
"position": "absolute",
"right": 0,
}
Expand All @@ -262,7 +262,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#24272A",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 16,
Expand All @@ -282,14 +282,14 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
</RCTScrollView>
<View
style={
Object {
{
"bottom": 20,
}
}
>
<View
style={
Object {
{
"backgroundColor": "#FFFFFF",
"flexDirection": "row",
"paddingHorizontal": 16,
Expand All @@ -307,7 +307,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
onPressIn={[Function]}
onPressOut={[Function]}
style={
Object {
{
"alignItems": "center",
"alignSelf": "flex-start",
"backgroundColor": "transparent",
Expand All @@ -327,7 +327,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#0376C9",
"fontFamily": "Euclid Circular B",
"fontSize": 14,
Expand All @@ -348,7 +348,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
onPressIn={[Function]}
onPressOut={[Function]}
style={
Object {
{
"alignItems": "center",
"alignSelf": "flex-start",
"backgroundColor": "#0376C9",
Expand All @@ -368,7 +368,7 @@ exports[`ConfirmAddAsset render matches previous snapshot 1`] = `
<Text
accessibilityRole="text"
style={
Object {
{
"color": "#FFFFFF",
"fontFamily": "Euclid Circular B",
"fontSize": 14,
Expand Down
Loading

0 comments on commit 31603d1

Please sign in to comment.