Skip to content

Commit 8d81e17

Browse files
Update snapshots
1 parent b8a226e commit 8d81e17

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

__tests__/__snapshots__/Button.test.js.snap

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ exports[`Button Renders 1`] = `
66
accessibilityLabel={undefined}
77
accessibilityTraits={undefined}
88
accessible={true}
9+
collapsable={undefined}
910
hitSlop={undefined}
1011
isTVSelectable={true}
12+
nativeID={undefined}
1113
onLayout={undefined}
1214
onResponderGrant={[Function]}
1315
onResponderMove={[Function]}
@@ -52,6 +54,37 @@ exports[`Button Renders 1`] = `
5254
</View>
5355
`;
5456

57+
exports[`Button Renders custom activity indicator 1`] = `
58+
<View
59+
style={
60+
Array [
61+
Object {
62+
"alignItems": "center",
63+
"alignSelf": "stretch",
64+
"borderRadius": 8,
65+
"borderWidth": 1,
66+
"flexDirection": "row",
67+
"height": 44,
68+
"justifyContent": "center",
69+
"marginBottom": 10,
70+
},
71+
undefined,
72+
Object {
73+
"opacity": 0.5,
74+
},
75+
]
76+
}
77+
>
78+
<Text
79+
accessible={true}
80+
allowFontScaling={true}
81+
ellipsizeMode="tail"
82+
>
83+
Loading
84+
</Text>
85+
</View>
86+
`;
87+
5588
exports[`Button Renders disabled 1`] = `
5689
<View
5790
style={
@@ -135,8 +168,10 @@ exports[`Button Renders with a inner View 1`] = `
135168
accessibilityLabel={undefined}
136169
accessibilityTraits={undefined}
137170
accessible={true}
171+
collapsable={undefined}
138172
hitSlop={undefined}
139173
isTVSelectable={true}
174+
nativeID={undefined}
140175
onLayout={undefined}
141176
onResponderGrant={[Function]}
142177
onResponderMove={[Function]}
@@ -170,8 +205,10 @@ exports[`Button Should contain children 1`] = `
170205
accessibilityLabel={undefined}
171206
accessibilityTraits={undefined}
172207
accessible={true}
208+
collapsable={undefined}
173209
hitSlop={undefined}
174210
isTVSelectable={true}
211+
nativeID={undefined}
175212
onLayout={undefined}
176213
onResponderGrant={[Function]}
177214
onResponderMove={[Function]}
@@ -222,8 +259,10 @@ exports[`Button Should react to the onPress event 1`] = `
222259
accessibilityLabel={undefined}
223260
accessibilityTraits={undefined}
224261
accessible={true}
262+
collapsable={undefined}
225263
hitSlop={undefined}
226264
isTVSelectable={true}
265+
nativeID={undefined}
227266
onLayout={undefined}
228267
onResponderGrant={[Function]}
229268
onResponderMove={[Function]}

0 commit comments

Comments
 (0)