Skip to content

Commit 0afc012

Browse files
committed
Update snapshot tests
1 parent 7484596 commit 0afc012

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

source/views/components/__tests__/__snapshots__/button.test.js.snap

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ exports[`can change the title 1`] = `
5151
containerStyle={
5252
Object {
5353
"alignSelf": "center",
54-
"backgroundColor": "rgb(67, 114, 170)",
54+
"backgroundColor": "#E3A025",
5555
"borderRadius": 6,
5656
"marginVertical": 10,
5757
"overflow": "hidden",
@@ -69,7 +69,18 @@ exports[`can change the title 1`] = `
6969
style={
7070
Object {
7171
"backgroundColor": "transparent",
72-
"color": "#FFFFFF",
72+
"color": Object {
73+
"_a": 1,
74+
"_b": 33,
75+
"_format": "hex",
76+
"_g": 33,
77+
"_gradientType": undefined,
78+
"_ok": true,
79+
"_originalInput": "#242121",
80+
"_r": 36,
81+
"_roundA": 1,
82+
"_tc_id": 3,
83+
},
7384
"fontFamily": "System",
7485
"fontSize": 16,
7586
"fontWeight": "400",
@@ -92,7 +103,7 @@ exports[`renders 1`] = `
92103
containerStyle={
93104
Object {
94105
"alignSelf": "center",
95-
"backgroundColor": "rgb(67, 114, 170)",
106+
"backgroundColor": "#E3A025",
96107
"borderRadius": 6,
97108
"marginVertical": 10,
98109
"overflow": "hidden",
@@ -110,7 +121,18 @@ exports[`renders 1`] = `
110121
style={
111122
Object {
112123
"backgroundColor": "transparent",
113-
"color": "#FFFFFF",
124+
"color": Object {
125+
"_a": 1,
126+
"_b": 33,
127+
"_format": "hex",
128+
"_g": 33,
129+
"_gradientType": undefined,
130+
"_ok": true,
131+
"_originalInput": "#242121",
132+
"_r": 36,
133+
"_roundA": 1,
134+
"_tc_id": 3,
135+
},
114136
"fontFamily": "System",
115137
"fontSize": 16,
116138
"fontWeight": "400",

source/views/components/cells/__tests__/__snapshots__/toggle.test.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ exports[`renders 1`] = `
99
cellAccessoryView={
1010
<Switch
1111
disabled={false}
12+
onTintColor="#E3A025"
1213
onValueChange={[Function]}
1314
value={true}
1415
/>
@@ -48,6 +49,7 @@ exports[`renders the given label into the Cell 1`] = `
4849
cellAccessoryView={
4950
<Switch
5051
disabled={false}
52+
onTintColor="#E3A025"
5153
onValueChange={[Function]}
5254
value={true}
5355
/>

0 commit comments

Comments
 (0)