Skip to content

Commit 9243a08

Browse files
committed
fix: snapshots
1 parent b6cb677 commit 9243a08

File tree

2 files changed

+40
-25
lines changed

2 files changed

+40
-25
lines changed

src/components/__snapshots__/MaskedText.test.tsx.snap

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
exports[`<MaskedText /> should renders correctly with currency mask 1`] = `
44
<Text
55
style={
6-
Object {
7-
"fontStyle": "normal",
8-
"fontWeight": "normal",
9-
"textDecorationLine": "none",
10-
}
6+
Array [
7+
Object {
8+
"fontStyle": undefined,
9+
"fontWeight": undefined,
10+
"textDecorationLine": undefined,
11+
},
12+
undefined,
13+
]
1114
}
1215
>
1316
$59.99
@@ -17,11 +20,14 @@ exports[`<MaskedText /> should renders correctly with currency mask 1`] = `
1720
exports[`<MaskedText /> should renders correctly with custom mask 1`] = `
1821
<Text
1922
style={
20-
Object {
21-
"fontStyle": "normal",
22-
"fontWeight": "normal",
23-
"textDecorationLine": "none",
24-
}
23+
Array [
24+
Object {
25+
"fontStyle": undefined,
26+
"fontWeight": undefined,
27+
"textDecorationLine": undefined,
28+
},
29+
undefined,
30+
]
2531
}
2632
>
2733
RCT-777

src/components/__snapshots__/MaskedTextInput.test.tsx.snap

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ exports[`<MaskedTextInput /> should render correctly without a mask 1`] = `
66
onChangeText={[Function]}
77
rejectResponderTermination={true}
88
style={
9-
Object {
10-
"fontStyle": undefined,
11-
"fontWeight": undefined,
12-
"textDecorationLine": undefined,
13-
}
9+
Array [
10+
Object {
11+
"fontStyle": undefined,
12+
"fontWeight": undefined,
13+
"textDecorationLine": undefined,
14+
},
15+
undefined,
16+
]
1417
}
1518
underlineColorAndroid="transparent"
1619
value="with space and special* characters;"
@@ -23,11 +26,14 @@ exports[`<MaskedTextInput /> should renders correctly with currency mask 1`] = `
2326
onChangeText={[Function]}
2427
rejectResponderTermination={true}
2528
style={
26-
Object {
27-
"fontStyle": undefined,
28-
"fontWeight": undefined,
29-
"textDecorationLine": undefined,
30-
}
29+
Array [
30+
Object {
31+
"fontStyle": undefined,
32+
"fontWeight": undefined,
33+
"textDecorationLine": undefined,
34+
},
35+
undefined,
36+
]
3137
}
3238
underlineColorAndroid="transparent"
3339
value="$0.00"
@@ -41,11 +47,14 @@ exports[`<MaskedTextInput /> should renders correctly with custom mask 1`] = `
4147
onChangeText={[Function]}
4248
rejectResponderTermination={true}
4349
style={
44-
Object {
45-
"fontStyle": undefined,
46-
"fontWeight": undefined,
47-
"textDecorationLine": undefined,
48-
}
50+
Array [
51+
Object {
52+
"fontStyle": undefined,
53+
"fontWeight": undefined,
54+
"textDecorationLine": undefined,
55+
},
56+
undefined,
57+
]
4958
}
5059
underlineColorAndroid="transparent"
5160
value=""

0 commit comments

Comments
 (0)