Skip to content

Commit 8120112

Browse files
committed
💚 Commit new snapshots for RN v0.49
1 parent c990a8b commit 8120112

File tree

4 files changed

+65
-78
lines changed

4 files changed

+65
-78
lines changed

src/ImmutableListView/__tests__/__snapshots__/EmptyListView.test.js.snap

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

33
exports[`EmptyListView renders with custom renderRow 1`] = `
44
<RCTScrollView
5+
DEPRECATED_sendUpdatedChildFrames={true}
56
dataSource={
67
ListViewDataSource {
78
"items": 1,
@@ -52,6 +53,7 @@ exports[`EmptyListView renders with custom renderRow 1`] = `
5253

5354
exports[`EmptyListView renders with custom text 1`] = `
5455
<RCTScrollView
56+
DEPRECATED_sendUpdatedChildFrames={true}
5557
dataSource={
5658
ListViewDataSource {
5759
"items": 1,
@@ -108,6 +110,7 @@ exports[`EmptyListView renders with custom text 1`] = `
108110

109111
exports[`EmptyListView renders with default text 1`] = `
110112
<RCTScrollView
113+
DEPRECATED_sendUpdatedChildFrames={true}
111114
dataSource={
112115
ListViewDataSource {
113116
"items": 1,

src/ImmutableListView/__tests__/__snapshots__/ImmutableListView.test.js.snap

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

33
exports[`ImmutableListView renders Map: List rows, with section headers 1`] = `
44
<RCTScrollView
5+
DEPRECATED_sendUpdatedChildFrames={true}
56
dataSource={
67
ListViewDataSource {
78
"items": NaN,
@@ -10,17 +11,16 @@ exports[`ImmutableListView renders Map: List rows, with section headers 1`] = `
1011
enableEmptySections={true}
1112
immutableData={
1213
Immutable.Map {
13-
first: Immutable.List [
14+
"first": Immutable.List [
1415
"m",
1516
"a",
1617
"p",
1718
],
18-
second: Immutable.List [
19+
"second": Immutable.List [
1920
"foo",
2021
],
21-
third: Immutable.List [
22-
],
23-
fourth: Immutable.List [
22+
"third": Immutable.List [],
23+
"fourth": Immutable.List [
2424
"bar",
2525
],
2626
}
@@ -135,6 +135,7 @@ exports[`ImmutableListView renders Map: List rows, with section headers 1`] = `
135135

136136
exports[`ImmutableListView renders Map: List rows, without section headers 1`] = `
137137
<RCTScrollView
138+
DEPRECATED_sendUpdatedChildFrames={true}
138139
dataSource={
139140
ListViewDataSource {
140141
"items": 4,
@@ -143,17 +144,16 @@ exports[`ImmutableListView renders Map: List rows, without section headers 1`] =
143144
enableEmptySections={true}
144145
immutableData={
145146
Immutable.Map {
146-
first: Immutable.List [
147+
"first": Immutable.List [
147148
"m",
148149
"a",
149150
"p",
150151
],
151-
second: Immutable.List [
152+
"second": Immutable.List [
152153
"foo",
153154
],
154-
third: Immutable.List [
155-
],
156-
fourth: Immutable.List [
155+
"third": Immutable.List [],
156+
"fourth": Immutable.List [
157157
"bar",
158158
],
159159
}
@@ -216,6 +216,7 @@ exports[`ImmutableListView renders Map: List rows, without section headers 1`] =
216216

217217
exports[`ImmutableListView renders Map: Map rows, with section headers 1`] = `
218218
<RCTScrollView
219+
DEPRECATED_sendUpdatedChildFrames={true}
219220
dataSource={
220221
ListViewDataSource {
221222
"items": NaN,
@@ -224,12 +225,11 @@ exports[`ImmutableListView renders Map: Map rows, with section headers 1`] = `
224225
enableEmptySections={true}
225226
immutableData={
226227
Immutable.Map {
227-
first: Immutable.Map {
228-
row1: "data 1",
229-
row2: "data 2",
230-
},
231-
second: Immutable.Map {
228+
"first": Immutable.Map {
229+
"row1": "data 1",
230+
"row2": "data 2",
232231
},
232+
"second": Immutable.Map {},
233233
}
234234
}
235235
initialListSize={10}
@@ -298,6 +298,7 @@ exports[`ImmutableListView renders Map: Map rows, with section headers 1`] = `
298298

299299
exports[`ImmutableListView renders Map: Map rows, without section headers 1`] = `
300300
<RCTScrollView
301+
DEPRECATED_sendUpdatedChildFrames={true}
301302
dataSource={
302303
ListViewDataSource {
303304
"items": 2,
@@ -306,12 +307,11 @@ exports[`ImmutableListView renders Map: Map rows, without section headers 1`] =
306307
enableEmptySections={true}
307308
immutableData={
308309
Immutable.Map {
309-
first: Immutable.Map {
310-
row1: "data 1",
311-
row2: "data 2",
312-
},
313-
second: Immutable.Map {
310+
"first": Immutable.Map {
311+
"row1": "data 1",
312+
"row2": "data 2",
314313
},
314+
"second": Immutable.Map {},
315315
}
316316
}
317317
initialListSize={10}
@@ -356,6 +356,7 @@ exports[`ImmutableListView renders Map: Map rows, without section headers 1`] =
356356

357357
exports[`ImmutableListView renders basic List 1`] = `
358358
<RCTScrollView
359+
DEPRECATED_sendUpdatedChildFrames={true}
359360
dataSource={
360361
ListViewDataSource {
361362
"items": 3,
@@ -419,19 +420,14 @@ exports[`ImmutableListView renders basic List 1`] = `
419420

420421
exports[`ImmutableListView renders basic Range 1`] = `
421422
<RCTScrollView
423+
DEPRECATED_sendUpdatedChildFrames={true}
422424
dataSource={
423425
ListViewDataSource {
424426
"items": 3,
425427
}
426428
}
427429
enableEmptySections={true}
428-
immutableData={
429-
Array [
430-
3,
431-
6,
432-
9,
433-
]
434-
}
430+
immutableData={Immutable.Seq […]}
435431
initialListSize={10}
436432
onContentSizeChange={[Function]}
437433
onEndReachedThreshold={1000}
@@ -482,6 +478,7 @@ exports[`ImmutableListView renders basic Range 1`] = `
482478

483479
exports[`ImmutableListView renders basic Set 1`] = `
484480
<RCTScrollView
481+
DEPRECATED_sendUpdatedChildFrames={true}
485482
dataSource={
486483
ListViewDataSource {
487484
"items": 3,
@@ -545,6 +542,7 @@ exports[`ImmutableListView renders basic Set 1`] = `
545542

546543
exports[`ImmutableListView renders nested List 1`] = `
547544
<RCTScrollView
545+
DEPRECATED_sendUpdatedChildFrames={true}
548546
dataSource={
549547
ListViewDataSource {
550548
"items": 2,
@@ -605,6 +603,7 @@ exports[`ImmutableListView renders nested List 1`] = `
605603

606604
exports[`ImmutableListView renders with empty data 1`] = `
607605
<RCTScrollView
606+
DEPRECATED_sendUpdatedChildFrames={true}
608607
dataSource={
609608
ListViewDataSource {
610609
"items": 1,
@@ -661,6 +660,7 @@ exports[`ImmutableListView renders with empty data 1`] = `
661660

662661
exports[`ImmutableListView with delayed rendering renders basic List after interactions 1`] = `
663662
<RCTScrollView
663+
DEPRECATED_sendUpdatedChildFrames={true}
664664
dataSource={
665665
ListViewDataSource {
666666
"items": 3,
@@ -725,6 +725,7 @@ exports[`ImmutableListView with delayed rendering renders basic List after inter
725725

726726
exports[`ImmutableListView with delayed rendering renders basic List during interactions 1`] = `
727727
<RCTScrollView
728+
DEPRECATED_sendUpdatedChildFrames={true}
728729
dataSource={
729730
ListViewDataSource {
730731
"items": 1,
@@ -773,16 +774,14 @@ exports[`ImmutableListView with delayed rendering renders basic List during inte
773774

774775
exports[`ImmutableListView with renderEmpty doesn't render empty with null 1`] = `
775776
<RCTScrollView
777+
DEPRECATED_sendUpdatedChildFrames={true}
776778
dataSource={
777779
ListViewDataSource {
778780
"items": 0,
779781
}
780782
}
781783
enableEmptySections={true}
782-
immutableData={
783-
Immutable.List [
784-
]
785-
}
784+
immutableData={Immutable.List []}
786785
initialListSize={10}
787786
onContentSizeChange={[Function]}
788787
onEndReachedThreshold={1000}
@@ -842,6 +841,7 @@ exports[`ImmutableListView with renderEmpty renders empty with a string 1`] = `
842841

843842
exports[`ImmutableListView with renderEmpty renders normally when there are some items 1`] = `
844843
<RCTScrollView
844+
DEPRECATED_sendUpdatedChildFrames={true}
845845
dataSource={
846846
ListViewDataSource {
847847
"items": 3,
@@ -906,16 +906,14 @@ exports[`ImmutableListView with renderEmpty renders normally when there are some
906906

907907
exports[`ImmutableListView with renderEmptyInList doesn't render empty with null 1`] = `
908908
<RCTScrollView
909+
DEPRECATED_sendUpdatedChildFrames={true}
909910
dataSource={
910911
ListViewDataSource {
911912
"items": 0,
912913
}
913914
}
914915
enableEmptySections={true}
915-
immutableData={
916-
Immutable.List [
917-
]
918-
}
916+
immutableData={Immutable.List []}
919917
initialListSize={10}
920918
onContentSizeChange={[Function]}
921919
onEndReachedThreshold={1000}
@@ -942,6 +940,7 @@ exports[`ImmutableListView with renderEmptyInList doesn't render empty with null
942940

943941
exports[`ImmutableListView with renderEmptyInList renders empty with a function 1`] = `
944942
<RCTScrollView
943+
DEPRECATED_sendUpdatedChildFrames={true}
945944
dataSource={
946945
ListViewDataSource {
947946
"items": 1,
@@ -992,6 +991,7 @@ exports[`ImmutableListView with renderEmptyInList renders empty with a function
992991

993992
exports[`ImmutableListView with renderEmptyInList renders empty with a string 1`] = `
994993
<RCTScrollView
994+
DEPRECATED_sendUpdatedChildFrames={true}
995995
contentContainerStyle={
996996
Object {
997997
"color": "red",
@@ -1053,6 +1053,7 @@ exports[`ImmutableListView with renderEmptyInList renders empty with a string 1`
10531053

10541054
exports[`ImmutableListView with renderEmptyInList renders normally when there are some items 1`] = `
10551055
<RCTScrollView
1056+
DEPRECATED_sendUpdatedChildFrames={true}
10561057
dataSource={
10571058
ListViewDataSource {
10581059
"items": 3,

src/ImmutableVirtualizedList/__tests__/__snapshots__/EmptyVirtualizedList.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ exports[`EmptyVirtualizedList renders with custom renderRow 1`] = `
3737
onScrollEndDrag={[Function]}
3838
renderEmptyInList="No data."
3939
renderItem={[Function]}
40-
renderScrollComponent={[Function]}
4140
scrollEventThrottle={50}
4241
stickyHeaderIndices={Array []}
4342
updateCellsBatchingPeriod={50}
@@ -46,6 +45,7 @@ exports[`EmptyVirtualizedList renders with custom renderRow 1`] = `
4645
<View>
4746
<View
4847
onLayout={[Function]}
48+
style={null}
4949
>
5050
<Text
5151
accessible={true}
@@ -97,7 +97,6 @@ exports[`EmptyVirtualizedList renders with custom text 1`] = `
9797
onScrollEndDrag={[Function]}
9898
renderEmptyInList="No data."
9999
renderItem={[Function]}
100-
renderScrollComponent={[Function]}
101100
scrollEventThrottle={50}
102101
stickyHeaderIndices={Array []}
103102
updateCellsBatchingPeriod={50}
@@ -106,6 +105,7 @@ exports[`EmptyVirtualizedList renders with custom text 1`] = `
106105
<View>
107106
<View
108107
onLayout={[Function]}
108+
style={null}
109109
>
110110
<Text
111111
accessible={true}
@@ -163,7 +163,6 @@ exports[`EmptyVirtualizedList renders with default text 1`] = `
163163
onScrollEndDrag={[Function]}
164164
renderEmptyInList="No data."
165165
renderItem={[Function]}
166-
renderScrollComponent={[Function]}
167166
scrollEventThrottle={50}
168167
stickyHeaderIndices={Array []}
169168
updateCellsBatchingPeriod={50}
@@ -172,6 +171,7 @@ exports[`EmptyVirtualizedList renders with default text 1`] = `
172171
<View>
173172
<View
174173
onLayout={[Function]}
174+
style={null}
175175
>
176176
<Text
177177
accessible={true}

0 commit comments

Comments
 (0)