Skip to content

Commit dcc5bf1

Browse files
committed
test: fix list accordion snapshot
1 parent 124f52f commit dcc5bf1

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/components/__tests__/__snapshots__/ListAccordion.test.js.snap

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
exports[`renders expanded accordion 1`] = `
44
<View>
55
<View
6-
accessibilityComponentType="button"
7-
accessibilityTraits="button"
6+
accessibilityRole="button"
87
accessible={true}
98
isTVSelectable={true}
109
onResponderGrant={[Function]}
@@ -44,9 +43,6 @@ exports[`renders expanded accordion 1`] = `
4443
}
4544
>
4645
<Text
47-
accessible={true}
48-
allowFontScaling={true}
49-
ellipsizeMode="tail"
5046
numberOfLines={1}
5147
style={
5248
Array [
@@ -105,9 +101,7 @@ exports[`renders expanded accordion 1`] = `
105101
>
106102
<Text
107103
accessibilityElementsHidden={true}
108-
accessible={true}
109104
allowFontScaling={false}
110-
ellipsizeMode="tail"
111105
importantForAccessibility="no-hide-descendants"
112106
pointerEvents="none"
113107
style={
@@ -133,6 +127,7 @@ exports[`renders expanded accordion 1`] = `
133127
"fontStyle": "normal",
134128
"fontWeight": "normal",
135129
},
130+
Object {},
136131
]
137132
}
138133
>
@@ -181,9 +176,6 @@ exports[`renders expanded accordion 1`] = `
181176
}
182177
>
183178
<Text
184-
accessible={true}
185-
allowFontScaling={true}
186-
ellipsizeMode="tail"
187179
numberOfLines={1}
188180
style={
189181
Array [

0 commit comments

Comments
 (0)