Skip to content

Commit

Permalink
snapshot gravy
Browse files Browse the repository at this point in the history
  • Loading branch information
EtDu committed May 28, 2020
1 parent 337f085 commit 2fdb65a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 330 deletions.
301 changes: 8 additions & 293 deletions app/components/UI/TransactionEdit/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,297 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`TransactionEdit should render correctly 1`] = `
<View
style={
Object {
"backgroundColor": "#FFFFFF",
"flex": 1,
}
}
>
<ActionView
cancelTestID=""
cancelText="Cancel"
confirmButtonMode="normal"
confirmTestID=""
confirmText="Next"
confirmed={false}
keyboardShouldPersistTaps="handled"
onConfirmPress={[Function]}
onTouchablePress={[Function]}
showCancelButton={true}
showConfirmButton={true}
>
<View
style={
Array [
Object {
"flex": 1,
"flexDirection": "column",
"paddingHorizontal": 24,
"paddingVertical": 16,
},
Object {},
]
}
>
<View
style={
Array [
Object {
"flexDirection": "row",
},
Object {
"left": 24,
"marginRight": 0,
"marginTop": 30,
"position": "absolute",
"right": 24,
"zIndex": 5,
},
]
}
>
<View
style={
Object {
"flex": 0,
"paddingRight": 18,
"width": 106,
}
}
>
<Text
style={
Object {
"color": "#848c96",
"fontFamily": "CircularStd-Medium",
"fontSize": 16,
"fontWeight": "600",
}
}
>
From
:
</Text>
</View>
<Connect(AccountSelect)
enabled={false}
onChange={[Function]}
value="0x1"
/>
</View>
<View
style={
Array [
Object {
"flexDirection": "row",
},
Object {
"marginTop": 18,
"zIndex": 3,
},
Object {
"left": 24,
"marginTop": 190,
"position": "absolute",
"right": 24,
"zIndex": 4,
},
]
}
>
<View
style={
Object {
"flex": 0,
"paddingRight": 18,
"width": 106,
}
}
>
<Text
style={
Object {
"color": "#848c96",
"fontFamily": "CircularStd-Medium",
"fontSize": 16,
"fontWeight": "600",
}
}
>
Amount
:
</Text>
<TouchableOpacity
onPress={[Function]}
>
<Text
style={
Object {
"color": "#037dd6",
"fontFamily": "CircularStd-Medium",
"fontSize": 12,
"fontWeight": "600",
"paddingTop": 6,
}
}
>
Max
</Text>
</TouchableOpacity>
</View>
<Connect(EthInput)
fillMax={false}
isOpen={false}
onChange={[Function]}
openEthInput={[Function]}
updateFillMax={[Function]}
value=""
/>
</View>
<View
style={
Array [
Object {
"flexDirection": "row",
},
Object {
"left": 24,
"marginTop": 120,
"position": "absolute",
"right": 24,
"zIndex": 4,
},
]
}
>
<View
style={
Object {
"flex": 0,
"paddingRight": 18,
"width": 106,
}
}
>
<Text
style={
Object {
"color": "#848c96",
"fontFamily": "CircularStd-Medium",
"fontSize": 16,
"fontWeight": "600",
}
}
>
To
:
</Text>
</View>
<Connect(AccountInput)
address="0x2"
closeDropdowns={[Function]}
isOpen={false}
navigation={
Object {
"state": Object {
"params": Object {},
},
}
}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
openAccountSelect={[Function]}
placeholder="Recipient Address"
updateToAddressError={[Function]}
/>
</View>
<View
style={
Array [
Object {
"flexDirection": "row",
},
Object {
"marginTop": 18,
"zIndex": 3,
},
Object {
"marginTop": 240,
},
]
}
>
<Connect(CustomGas)
gas=""
gasError=""
gasPrice=""
handleGasFeeSelection={[Function]}
onPress={[Function]}
totalGas={"14a"}
/>
</View>
<View
style={
Array [
Object {
"flexDirection": "row",
},
Object {
"marginTop": 18,
"zIndex": 3,
},
]
}
>
<View
style={
Object {
"flex": 0,
"paddingRight": 18,
"width": 106,
}
}
>
<Text
style={
Object {
"color": "#848c96",
"fontFamily": "CircularStd-Medium",
"fontSize": 16,
"fontWeight": "600",
}
}
>
Hex Data
:
</Text>
</View>
<TextInput
multiline={true}
onChangeText={[Function]}
placeholder="Optional"
placeholderTextColor="#d6d9dc"
style={
Object {
"backgroundColor": "#FFFFFF",
"borderColor": "#d6d9dc",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"fontFamily": "CircularStd-Medium",
"fontSize": 16,
"fontWeight": "600",
"minHeight": 64,
"paddingLeft": 10,
"paddingVertical": 6,
}
}
/>
</View>
</View>
</ActionView>
</View>
<Connect(CustomGas)
gas=""
gasError=""
gasPrice=""
handleGasFeeSelection={[Function]}
review={[Function]}
totalGas={"14a"}
/>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ exports[`TransactionReviewData should render correctly 1`] = `
}
}
>
<TouchableOpacity
activeOpacity={0.2}
>
<TouchableOpacity>
<Icon
allowFontScaling={false}
color="#000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ exports[`TransactionReviewFeeCard should render correctly 1`] = `
Network fee
</Text>
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
>
<Text
Expand All @@ -123,34 +122,13 @@ exports[`TransactionReviewFeeCard should render correctly 1`] = `
>
Edit
</Text>
<TouchableOpacity
disabled={true}
>
<Text
style={
Array [
Object {
"color": "#000000",
"fontFamily": "CircularStd-Medium",
"fontSize": 14,
"fontWeight": "600",
},
Object {
"color": "#037dd6",
},
]
}
>
Edit
</Text>
</TouchableOpacity>
</View>
<View
style={
Object {
"backgroundColor": "#FFFFFF",
"height": 10,
}
</TouchableOpacity>
</View>
<View
style={
Object {
"backgroundColor": "#FFFFFF",
"height": 10,
}
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ exports[`TransactionReviewInformation should render correctly 1`] = `
}
>
<TouchableOpacity
activeOpacity={0.2}
style={
Object {
"alignSelf": "center",
Expand Down
Loading

0 comments on commit 2fdb65a

Please sign in to comment.