Skip to content

Commit a08d9f1

Browse files
author
alvaromb
committed
Updated tests
1 parent 04d4f40 commit a08d9f1

File tree

1 file changed

+43
-45
lines changed

1 file changed

+43
-45
lines changed

__tests__/__snapshots__/CascadePicker.test.js.snap

+43-45
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,55 @@
22

33
exports[`renders correctly 1`] = `
44
<View>
5-
<View>
6-
<View
7-
style={
5+
<View
6+
style={
7+
Array [
8+
Object {
9+
"alignItems": "center",
10+
"backgroundColor": "#ffbcbc",
11+
"borderColor": "red",
12+
"borderWidth": 1,
13+
"height": 100,
14+
"justifyContent": "center",
15+
"margin": 10,
16+
"width": 300,
17+
},
818
Array [
9-
Object {
10-
"alignItems": "center",
11-
"backgroundColor": "#ffbcbc",
12-
"borderColor": "red",
13-
"borderWidth": 1,
14-
"height": 100,
15-
"justifyContent": "center",
16-
"margin": 10,
17-
"width": 300,
18-
},
1919
Array [
20-
Array [
21-
Object {
22-
"overflow": "hidden",
23-
},
24-
Object {
25-
"borderBottomWidth": 1,
26-
},
27-
Object {
28-
"backgroundColor": "white",
29-
"borderBottomColor": "black",
30-
},
31-
],
3220
Object {
33-
"alignItems": "center",
34-
"flexDirection": "row",
35-
"height": 44,
36-
"justifyContent": "center",
21+
"overflow": "hidden",
22+
},
23+
Object {
24+
"borderBottomWidth": 1,
25+
},
26+
Object {
27+
"backgroundColor": "white",
28+
"borderBottomColor": "black",
3729
},
3830
],
39-
]
40-
}
41-
>
42-
<Text
43-
accessible={true}
44-
allowFontScaling={true}
45-
ellipsizeMode="tail"
46-
style={
4731
Object {
48-
"color": "#333333",
49-
"margin": 20,
50-
}
32+
"alignItems": "center",
33+
"flexDirection": "row",
34+
"height": 44,
35+
"justifyContent": "center",
36+
},
37+
],
38+
]
39+
}
40+
>
41+
<Text
42+
accessible={true}
43+
allowFontScaling={true}
44+
ellipsizeMode="tail"
45+
style={
46+
Object {
47+
"color": "#333333",
48+
"margin": 20,
5149
}
52-
>
53-
TouchableNativeFeedback is not supported on this platform!
54-
</Text>
55-
</View>
50+
}
51+
>
52+
TouchableNativeFeedback is not supported on this platform!
53+
</Text>
5654
</View>
5755
<View
5856
collapsable={undefined}
@@ -86,7 +84,7 @@ exports[`renders correctly 1`] = `
8684
"borderBottomWidth": 1,
8785
},
8886
Object {
89-
"backgroundColor": "white",
87+
"backgroundColor": "grey",
9088
},
9189
],
9290
Object {

0 commit comments

Comments
 (0)