Skip to content

Commit 26eb45e

Browse files
author
Javier Morant
authored
Upgrade React Native (#37)
* git tracking snapshot tests * Update circle config * remove snapshot tests * added new snap shot tests * updated snapshot tests
1 parent b787e6e commit 26eb45e

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
steps:
77
- checkout
88
- run: yarn install
9-
- run: yarn add react@16.0.0
10-
- run: yarn add react-native@0.49.3
9+
- run: yarn add react@16.2.0
10+
- run: yarn add react-native@0.52.0
1111
- run: yarn add codecov
1212
- run: yarn lint
1313
- run: yarn flow

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
examples
22
flow-typed
3-
node_modules
4-
__snapshots__
3+
node_modules

__snapshots__/index.test.js.snap

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ exports[`NestedListView renders with NestedRow 1`] = `
3434
onScroll={[Function]}
3535
onScrollBeginDrag={[Function]}
3636
onScrollEndDrag={[Function]}
37-
onViewableItemsChanged={undefined}
3837
renderItem={[Function]}
3938
scrollEventThrottle={50}
4039
stickyHeaderIndices={Array []}
4140
updateCellsBatchingPeriod={50}
41+
viewabilityConfigCallbackPairs={Array []}
4242
windowSize={21}
4343
>
4444
<View>
@@ -214,11 +214,11 @@ exports[`NestedListView renders with nested arrays 1`] = `
214214
onScroll={[Function]}
215215
onScrollBeginDrag={[Function]}
216216
onScrollEndDrag={[Function]}
217-
onViewableItemsChanged={undefined}
218217
renderItem={[Function]}
219218
scrollEventThrottle={50}
220219
stickyHeaderIndices={Array []}
221220
updateCellsBatchingPeriod={50}
221+
viewabilityConfigCallbackPairs={Array []}
222222
windowSize={21}
223223
>
224224
<View>
@@ -248,7 +248,6 @@ exports[`NestedListView renders with nested arrays 1`] = `
248248
<Text
249249
accessible={true}
250250
allowFontScaling={true}
251-
disabled={false}
252251
ellipsizeMode="tail"
253252
>
254253
node.name
@@ -283,7 +282,6 @@ exports[`NestedListView renders with nested arrays 1`] = `
283282
<Text
284283
accessible={true}
285284
allowFontScaling={true}
286-
disabled={false}
287285
ellipsizeMode="tail"
288286
>
289287
node.name
@@ -318,7 +316,6 @@ exports[`NestedListView renders with nested arrays 1`] = `
318316
<Text
319317
accessible={true}
320318
allowFontScaling={true}
321-
disabled={false}
322319
ellipsizeMode="tail"
323320
>
324321
node.name
@@ -382,11 +379,11 @@ exports[`NestedListView renders with nested arrays and children with different n
382379
onScroll={[Function]}
383380
onScrollBeginDrag={[Function]}
384381
onScrollEndDrag={[Function]}
385-
onViewableItemsChanged={undefined}
386382
renderItem={[Function]}
387383
scrollEventThrottle={50}
388384
stickyHeaderIndices={Array []}
389385
updateCellsBatchingPeriod={50}
386+
viewabilityConfigCallbackPairs={Array []}
390387
windowSize={21}
391388
>
392389
<View>
@@ -416,7 +413,6 @@ exports[`NestedListView renders with nested arrays and children with different n
416413
<Text
417414
accessible={true}
418415
allowFontScaling={true}
419-
disabled={false}
420416
ellipsizeMode="tail"
421417
>
422418
node.name
@@ -451,7 +447,6 @@ exports[`NestedListView renders with nested arrays and children with different n
451447
<Text
452448
accessible={true}
453449
allowFontScaling={true}
454-
disabled={false}
455450
ellipsizeMode="tail"
456451
>
457452
node.name
@@ -486,7 +481,6 @@ exports[`NestedListView renders with nested arrays and children with different n
486481
<Text
487482
accessible={true}
488483
allowFontScaling={true}
489-
disabled={false}
490484
ellipsizeMode="tail"
491485
>
492486
node.name
@@ -549,11 +543,11 @@ exports[`NestedListView renders with nested arrays and children with different t
549543
onScroll={[Function]}
550544
onScrollBeginDrag={[Function]}
551545
onScrollEndDrag={[Function]}
552-
onViewableItemsChanged={undefined}
553546
renderItem={[Function]}
554547
scrollEventThrottle={50}
555548
stickyHeaderIndices={Array []}
556549
updateCellsBatchingPeriod={50}
550+
viewabilityConfigCallbackPairs={Array []}
557551
windowSize={21}
558552
>
559553
<View>
@@ -583,7 +577,6 @@ exports[`NestedListView renders with nested arrays and children with different t
583577
<Text
584578
accessible={true}
585579
allowFontScaling={true}
586-
disabled={false}
587580
ellipsizeMode="tail"
588581
>
589582
node.name
@@ -618,7 +611,6 @@ exports[`NestedListView renders with nested arrays and children with different t
618611
<Text
619612
accessible={true}
620613
allowFontScaling={true}
621-
disabled={false}
622614
ellipsizeMode="tail"
623615
>
624616
node.name
@@ -653,7 +645,6 @@ exports[`NestedListView renders with nested arrays and children with different t
653645
<Text
654646
accessible={true}
655647
allowFontScaling={true}
656-
disabled={false}
657648
ellipsizeMode="tail"
658649
>
659650
node.name
@@ -701,11 +692,11 @@ exports[`NestedListView renders with onNodePressed 1`] = `
701692
onScroll={[Function]}
702693
onScrollBeginDrag={[Function]}
703694
onScrollEndDrag={[Function]}
704-
onViewableItemsChanged={undefined}
705695
renderItem={[Function]}
706696
scrollEventThrottle={50}
707697
stickyHeaderIndices={Array []}
708698
updateCellsBatchingPeriod={50}
699+
viewabilityConfigCallbackPairs={Array []}
709700
windowSize={21}
710701
>
711702
<View>
@@ -735,7 +726,6 @@ exports[`NestedListView renders with onNodePressed 1`] = `
735726
<Text
736727
accessible={true}
737728
allowFontScaling={true}
738-
disabled={false}
739729
ellipsizeMode="tail"
740730
>
741731
node.name
@@ -770,7 +760,6 @@ exports[`NestedListView renders with onNodePressed 1`] = `
770760
<Text
771761
accessible={true}
772762
allowFontScaling={true}
773-
disabled={false}
774763
ellipsizeMode="tail"
775764
>
776765
node.name
@@ -805,7 +794,6 @@ exports[`NestedListView renders with onNodePressed 1`] = `
805794
<Text
806795
accessible={true}
807796
allowFontScaling={true}
808-
disabled={false}
809797
ellipsizeMode="tail"
810798
>
811799
node.name
@@ -853,11 +841,11 @@ exports[`NestedListView renders with simple array 1`] = `
853841
onScroll={[Function]}
854842
onScrollBeginDrag={[Function]}
855843
onScrollEndDrag={[Function]}
856-
onViewableItemsChanged={undefined}
857844
renderItem={[Function]}
858845
scrollEventThrottle={50}
859846
stickyHeaderIndices={Array []}
860847
updateCellsBatchingPeriod={50}
848+
viewabilityConfigCallbackPairs={Array []}
861849
windowSize={21}
862850
>
863851
<View>
@@ -887,7 +875,6 @@ exports[`NestedListView renders with simple array 1`] = `
887875
<Text
888876
accessible={true}
889877
allowFontScaling={true}
890-
disabled={false}
891878
ellipsizeMode="tail"
892879
>
893880
node.name
@@ -922,7 +909,6 @@ exports[`NestedListView renders with simple array 1`] = `
922909
<Text
923910
accessible={true}
924911
allowFontScaling={true}
925-
disabled={false}
926912
ellipsizeMode="tail"
927913
>
928914
node.name
@@ -957,7 +943,6 @@ exports[`NestedListView renders with simple array 1`] = `
957943
<Text
958944
accessible={true}
959945
allowFontScaling={true}
960-
disabled={false}
961946
ellipsizeMode="tail"
962947
>
963948
node.name
@@ -987,7 +972,6 @@ exports[`NestedListView renders without data 1`] = `
987972
<Text
988973
accessible={true}
989974
allowFontScaling={true}
990-
disabled={false}
991975
ellipsizeMode="tail"
992976
style={
993977
Object {
@@ -1020,7 +1004,6 @@ exports[`NestedListView renders without getChildrenName 1`] = `
10201004
<Text
10211005
accessible={true}
10221006
allowFontScaling={true}
1023-
disabled={false}
10241007
ellipsizeMode="tail"
10251008
style={
10261009
Object {
@@ -1053,7 +1036,6 @@ exports[`NestedListView renders without renderNode 1`] = `
10531036
<Text
10541037
accessible={true}
10551038
allowFontScaling={true}
1056-
disabled={false}
10571039
ellipsizeMode="tail"
10581040
style={
10591041
Object {

0 commit comments

Comments
 (0)