Skip to content

Commit 95554ad

Browse files
hramosfacebook-github-bot
authored andcommitted
Update Jest snapshots
Summary: Jest will now exclude undefined props from snapshots (jestjs/jest#6162). Updating the snapshots should fix the current `test_javascript` failures. Circle CI [INTERNAL][MINOR][Snapshots] - Update snapshots Closes facebook#19414 Differential Revision: D8125193 Pulled By: hramos fbshipit-source-id: db8dcfcd8afbf9d6256f83c6e922680a7872d776
1 parent c39b804 commit 95554ad

File tree

4 files changed

+0
-53
lines changed

4 files changed

+0
-53
lines changed

Libraries/Components/Touchable/__tests__/__snapshots__/TouchableHighlight-test.js.snap

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,15 @@
22

33
exports[`TouchableHighlight renders correctly 1`] = `
44
<View
5-
accessibilityComponentType={undefined}
6-
accessibilityLabel={undefined}
7-
accessibilityTraits={undefined}
85
accessible={true}
9-
hasTVPreferredFocus={undefined}
10-
hitSlop={undefined}
116
isTVSelectable={true}
12-
nativeID={undefined}
13-
onLayout={undefined}
147
onResponderGrant={[Function]}
158
onResponderMove={[Function]}
169
onResponderRelease={[Function]}
1710
onResponderTerminate={[Function]}
1811
onResponderTerminationRequest={[Function]}
1912
onStartShouldSetResponder={[Function]}
2013
style={Object {}}
21-
testID={undefined}
22-
tvParallaxProperties={undefined}
2314
>
2415
<Text
2516
style={null}

Libraries/Lists/__tests__/__snapshots__/FlatList-test.js.snap

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
3131
getItemLayout={[Function]}
3232
horizontal={false}
3333
initialNumToRender={10}
34-
invertStickyHeaders={undefined}
3534
keyExtractor={[Function]}
3635
maxToRenderPerBatch={10}
3736
numColumns={2}
@@ -46,7 +45,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
4645
refreshControl={
4746
<RefreshControlMock
4847
onRefresh={[MockFunction]}
49-
progressViewOffset={undefined}
5048
refreshing={false}
5149
/>
5250
}
@@ -67,7 +65,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
6765
<header />
6866
</View>
6967
<View
70-
onLayout={undefined}
7168
style={null}
7269
>
7370
<View
@@ -87,7 +84,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
8784
<separator />
8885
</View>
8986
<View
90-
onLayout={undefined}
9187
style={null}
9288
>
9389
<View
@@ -107,7 +103,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
107103
<separator />
108104
</View>
109105
<View
110-
onLayout={undefined}
111106
style={null}
112107
>
113108
<View
@@ -140,7 +135,6 @@ exports[`FlatList renders empty list 1`] = `
140135
getItemCount={[Function]}
141136
horizontal={false}
142137
initialNumToRender={10}
143-
invertStickyHeaders={undefined}
144138
keyExtractor={[Function]}
145139
maxToRenderPerBatch={10}
146140
numColumns={1}
@@ -164,13 +158,11 @@ exports[`FlatList renders empty list 1`] = `
164158

165159
exports[`FlatList renders null list 1`] = `
166160
<RCTScrollView
167-
data={undefined}
168161
disableVirtualization={false}
169162
getItem={[Function]}
170163
getItemCount={[Function]}
171164
horizontal={false}
172165
initialNumToRender={10}
173-
invertStickyHeaders={undefined}
174166
keyExtractor={[Function]}
175167
maxToRenderPerBatch={10}
176168
numColumns={1}
@@ -212,7 +204,6 @@ exports[`FlatList renders simple list 1`] = `
212204
getItemCount={[Function]}
213205
horizontal={false}
214206
initialNumToRender={10}
215-
invertStickyHeaders={undefined}
216207
keyExtractor={[Function]}
217208
maxToRenderPerBatch={10}
218209
numColumns={1}

Libraries/Lists/__tests__/__snapshots__/SectionList-test.js.snap

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
exports[`SectionList rendering empty section headers is fine 1`] = `
44
<RCTScrollView
5-
ItemSeparatorComponent={undefined}
65
data={
76
Array [
87
Object {
@@ -23,7 +22,6 @@ exports[`SectionList rendering empty section headers is fine 1`] = `
2322
getItemCount={[Function]}
2423
horizontal={false}
2524
initialNumToRender={10}
26-
invertStickyHeaders={undefined}
2725
keyExtractor={[Function]}
2826
maxToRenderPerBatch={10}
2927
onContentSizeChange={[Function]}
@@ -33,7 +31,6 @@ exports[`SectionList rendering empty section headers is fine 1`] = `
3331
onScroll={[Function]}
3432
onScrollBeginDrag={[Function]}
3533
onScrollEndDrag={[Function]}
36-
onViewableItemsChanged={undefined}
3734
renderItem={[Function]}
3835
renderSectionHeader={[Function]}
3936
scrollEventThrottle={50}
@@ -92,7 +89,6 @@ exports[`SectionList rendering empty section headers is fine 1`] = `
9289

9390
exports[`SectionList renders a footer when there is no data 1`] = `
9491
<RCTScrollView
95-
ItemSeparatorComponent={undefined}
9692
data={
9793
Array [
9894
Object {
@@ -106,7 +102,6 @@ exports[`SectionList renders a footer when there is no data 1`] = `
106102
getItemCount={[Function]}
107103
horizontal={false}
108104
initialNumToRender={10}
109-
invertStickyHeaders={undefined}
110105
keyExtractor={[Function]}
111106
maxToRenderPerBatch={10}
112107
onContentSizeChange={[Function]}
@@ -116,7 +111,6 @@ exports[`SectionList renders a footer when there is no data 1`] = `
116111
onScroll={[Function]}
117112
onScrollBeginDrag={[Function]}
118113
onScrollEndDrag={[Function]}
119-
onViewableItemsChanged={undefined}
120114
renderItem={[Function]}
121115
renderSectionFooter={[Function]}
122116
renderSectionHeader={[Function]}
@@ -161,7 +155,6 @@ exports[`SectionList renders a footer when there is no data 1`] = `
161155

162156
exports[`SectionList renders a footer when there is no data and no header 1`] = `
163157
<RCTScrollView
164-
ItemSeparatorComponent={undefined}
165158
data={
166159
Array [
167160
Object {
@@ -175,7 +168,6 @@ exports[`SectionList renders a footer when there is no data and no header 1`] =
175168
getItemCount={[Function]}
176169
horizontal={false}
177170
initialNumToRender={10}
178-
invertStickyHeaders={undefined}
179171
keyExtractor={[Function]}
180172
maxToRenderPerBatch={10}
181173
onContentSizeChange={[Function]}
@@ -185,7 +177,6 @@ exports[`SectionList renders a footer when there is no data and no header 1`] =
185177
onScroll={[Function]}
186178
onScrollBeginDrag={[Function]}
187179
onScrollEndDrag={[Function]}
188-
onViewableItemsChanged={undefined}
189180
renderItem={[Function]}
190181
renderSectionFooter={[Function]}
191182
scrollEventThrottle={50}
@@ -225,7 +216,6 @@ exports[`SectionList renders a footer when there is no data and no header 1`] =
225216

226217
exports[`SectionList renders all the bells and whistles 1`] = `
227218
<RCTScrollView
228-
ItemSeparatorComponent={undefined}
229219
ListEmptyComponent={[Function]}
230220
ListFooterComponent={[Function]}
231221
ListHeaderComponent={[Function]}
@@ -275,7 +265,6 @@ exports[`SectionList renders all the bells and whistles 1`] = `
275265
getItemCount={[Function]}
276266
horizontal={false}
277267
initialNumToRender={Infinity}
278-
invertStickyHeaders={undefined}
279268
keyExtractor={[Function]}
280269
maxToRenderPerBatch={10}
281270
onContentSizeChange={[Function]}
@@ -286,11 +275,9 @@ exports[`SectionList renders all the bells and whistles 1`] = `
286275
onScroll={[Function]}
287276
onScrollBeginDrag={[Function]}
288277
onScrollEndDrag={[Function]}
289-
onViewableItemsChanged={undefined}
290278
refreshControl={
291279
<RefreshControlMock
292280
onRefresh={[MockFunction]}
293-
progressViewOffset={undefined}
294281
refreshing={false}
295282
/>
296283
}
@@ -509,14 +496,12 @@ exports[`SectionList renders all the bells and whistles 1`] = `
509496

510497
exports[`SectionList renders empty list 1`] = `
511498
<RCTScrollView
512-
ItemSeparatorComponent={undefined}
513499
data={Array []}
514500
disableVirtualization={false}
515501
getItem={[Function]}
516502
getItemCount={[Function]}
517503
horizontal={false}
518504
initialNumToRender={10}
519-
invertStickyHeaders={undefined}
520505
keyExtractor={[Function]}
521506
maxToRenderPerBatch={10}
522507
onContentSizeChange={[Function]}
@@ -526,7 +511,6 @@ exports[`SectionList renders empty list 1`] = `
526511
onScroll={[Function]}
527512
onScrollBeginDrag={[Function]}
528513
onScrollEndDrag={[Function]}
529-
onViewableItemsChanged={undefined}
530514
renderItem={[Function]}
531515
scrollEventThrottle={50}
532516
sections={Array []}

Libraries/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ exports[`VirtualizedList handles nested lists 1`] = `
1717
getItemCount={[Function]}
1818
horizontal={false}
1919
initialNumToRender={10}
20-
invertStickyHeaders={undefined}
2120
keyExtractor={[Function]}
2221
maxToRenderPerBatch={10}
2322
onContentSizeChange={[Function]}
@@ -54,7 +53,6 @@ exports[`VirtualizedList handles nested lists 1`] = `
5453
getItemCount={[Function]}
5554
horizontal={false}
5655
initialNumToRender={10}
57-
invertStickyHeaders={undefined}
5856
keyExtractor={[Function]}
5957
maxToRenderPerBatch={10}
6058
onContentSizeChange={[Function]}
@@ -108,7 +106,6 @@ exports[`VirtualizedList handles nested lists 1`] = `
108106
getItemCount={[Function]}
109107
horizontal={true}
110108
initialNumToRender={10}
111-
invertStickyHeaders={undefined}
112109
keyExtractor={[Function]}
113110
maxToRenderPerBatch={10}
114111
onContentSizeChange={[Function]}
@@ -183,7 +180,6 @@ exports[`VirtualizedList handles separators correctly 1`] = `
183180
getItemCount={[Function]}
184181
horizontal={false}
185182
initialNumToRender={10}
186-
invertStickyHeaders={undefined}
187183
keyExtractor={[Function]}
188184
maxToRenderPerBatch={10}
189185
onContentSizeChange={[Function]}
@@ -265,7 +261,6 @@ exports[`VirtualizedList handles separators correctly 2`] = `
265261
getItemCount={[Function]}
266262
horizontal={false}
267263
initialNumToRender={10}
268-
invertStickyHeaders={undefined}
269264
keyExtractor={[Function]}
270265
maxToRenderPerBatch={10}
271266
onContentSizeChange={[Function]}
@@ -347,7 +342,6 @@ exports[`VirtualizedList handles separators correctly 3`] = `
347342
getItemCount={[Function]}
348343
horizontal={false}
349344
initialNumToRender={10}
350-
invertStickyHeaders={undefined}
351345
keyExtractor={[Function]}
352346
maxToRenderPerBatch={10}
353347
onContentSizeChange={[Function]}
@@ -455,7 +449,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
455449
refreshControl={
456450
<RefreshControlMock
457451
onRefresh={[MockFunction]}
458-
progressViewOffset={undefined}
459452
refreshing={false}
460453
/>
461454
}
@@ -495,7 +488,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
495488
<header />
496489
</View>
497490
<View
498-
onLayout={undefined}
499491
style={
500492
Array [
501493
Object {
@@ -517,7 +509,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
517509
<separator />
518510
</View>
519511
<View
520-
onLayout={undefined}
521512
style={
522513
Array [
523514
Object {
@@ -539,7 +530,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
539530
<separator />
540531
</View>
541532
<View
542-
onLayout={undefined}
543533
style={
544534
Array [
545535
Object {
@@ -561,7 +551,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
561551
<separator />
562552
</View>
563553
<View
564-
onLayout={undefined}
565554
style={
566555
Array [
567556
Object {
@@ -583,7 +572,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
583572
<separator />
584573
</View>
585574
<View
586-
onLayout={undefined}
587575
style={
588576
Array [
589577
Object {
@@ -629,7 +617,6 @@ exports[`VirtualizedList renders empty list 1`] = `
629617
getItemCount={[Function]}
630618
horizontal={false}
631619
initialNumToRender={10}
632-
invertStickyHeaders={undefined}
633620
keyExtractor={[Function]}
634621
maxToRenderPerBatch={10}
635622
onContentSizeChange={[Function]}
@@ -660,7 +647,6 @@ exports[`VirtualizedList renders empty list with empty component 1`] = `
660647
getItemCount={[Function]}
661648
horizontal={false}
662649
initialNumToRender={10}
663-
invertStickyHeaders={undefined}
664650
keyExtractor={[Function]}
665651
maxToRenderPerBatch={10}
666652
onContentSizeChange={[Function]}
@@ -709,7 +695,6 @@ exports[`VirtualizedList renders list with empty component 1`] = `
709695
getItemCount={[Function]}
710696
horizontal={false}
711697
initialNumToRender={10}
712-
invertStickyHeaders={undefined}
713698
keyExtractor={[Function]}
714699
maxToRenderPerBatch={10}
715700
onContentSizeChange={[Function]}
@@ -740,13 +725,11 @@ exports[`VirtualizedList renders list with empty component 1`] = `
740725

741726
exports[`VirtualizedList renders null list 1`] = `
742727
<RCTScrollView
743-
data={undefined}
744728
disableVirtualization={false}
745729
getItem={[Function]}
746730
getItemCount={[Function]}
747731
horizontal={false}
748732
initialNumToRender={10}
749-
invertStickyHeaders={undefined}
750733
keyExtractor={[Function]}
751734
maxToRenderPerBatch={10}
752735
onContentSizeChange={[Function]}
@@ -786,7 +769,6 @@ exports[`VirtualizedList renders simple list 1`] = `
786769
getItemCount={[Function]}
787770
horizontal={false}
788771
initialNumToRender={10}
789-
invertStickyHeaders={undefined}
790772
keyExtractor={[Function]}
791773
maxToRenderPerBatch={10}
792774
onContentSizeChange={[Function]}
@@ -845,7 +827,6 @@ exports[`VirtualizedList test getItem functionality where data is not an Array 1
845827
getItemCount={[Function]}
846828
horizontal={false}
847829
initialNumToRender={10}
848-
invertStickyHeaders={undefined}
849830
keyExtractor={[Function]}
850831
maxToRenderPerBatch={10}
851832
onContentSizeChange={[Function]}

0 commit comments

Comments
 (0)