Skip to content

Commit

Permalink
Upgrade React Native (#37)
Browse files Browse the repository at this point in the history
* git tracking snapshot tests

* Update circle config

* remove snapshot tests

* added new snap shot tests

* updated snapshot tests
  • Loading branch information
Javier Morant authored Jan 21, 2018
1 parent b787e6e commit 26eb45e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
steps:
- checkout
- run: yarn install
- run: yarn add react@16.0.0
- run: yarn add react-native@0.49.3
- run: yarn add react@16.2.0
- run: yarn add react-native@0.52.0
- run: yarn add codecov
- run: yarn lint
- run: yarn flow
Expand Down
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
examples
flow-typed
node_modules
__snapshots__
node_modules
30 changes: 6 additions & 24 deletions __snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ exports[`NestedListView renders with NestedRow 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
stickyHeaderIndices={Array []}
updateCellsBatchingPeriod={50}
viewabilityConfigCallbackPairs={Array []}
windowSize={21}
>
<View>
Expand Down Expand Up @@ -214,11 +214,11 @@ exports[`NestedListView renders with nested arrays 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
stickyHeaderIndices={Array []}
updateCellsBatchingPeriod={50}
viewabilityConfigCallbackPairs={Array []}
windowSize={21}
>
<View>
Expand Down Expand Up @@ -248,7 +248,6 @@ exports[`NestedListView renders with nested arrays 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -283,7 +282,6 @@ exports[`NestedListView renders with nested arrays 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -318,7 +316,6 @@ exports[`NestedListView renders with nested arrays 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -382,11 +379,11 @@ exports[`NestedListView renders with nested arrays and children with different n
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
stickyHeaderIndices={Array []}
updateCellsBatchingPeriod={50}
viewabilityConfigCallbackPairs={Array []}
windowSize={21}
>
<View>
Expand Down Expand Up @@ -416,7 +413,6 @@ exports[`NestedListView renders with nested arrays and children with different n
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -451,7 +447,6 @@ exports[`NestedListView renders with nested arrays and children with different n
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -486,7 +481,6 @@ exports[`NestedListView renders with nested arrays and children with different n
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -549,11 +543,11 @@ exports[`NestedListView renders with nested arrays and children with different t
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
stickyHeaderIndices={Array []}
updateCellsBatchingPeriod={50}
viewabilityConfigCallbackPairs={Array []}
windowSize={21}
>
<View>
Expand Down Expand Up @@ -583,7 +577,6 @@ exports[`NestedListView renders with nested arrays and children with different t
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -618,7 +611,6 @@ exports[`NestedListView renders with nested arrays and children with different t
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -653,7 +645,6 @@ exports[`NestedListView renders with nested arrays and children with different t
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -701,11 +692,11 @@ exports[`NestedListView renders with onNodePressed 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
stickyHeaderIndices={Array []}
updateCellsBatchingPeriod={50}
viewabilityConfigCallbackPairs={Array []}
windowSize={21}
>
<View>
Expand Down Expand Up @@ -735,7 +726,6 @@ exports[`NestedListView renders with onNodePressed 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -770,7 +760,6 @@ exports[`NestedListView renders with onNodePressed 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -805,7 +794,6 @@ exports[`NestedListView renders with onNodePressed 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -853,11 +841,11 @@ exports[`NestedListView renders with simple array 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
stickyHeaderIndices={Array []}
updateCellsBatchingPeriod={50}
viewabilityConfigCallbackPairs={Array []}
windowSize={21}
>
<View>
Expand Down Expand Up @@ -887,7 +875,6 @@ exports[`NestedListView renders with simple array 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -922,7 +909,6 @@ exports[`NestedListView renders with simple array 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -957,7 +943,6 @@ exports[`NestedListView renders with simple array 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
>
node.name
Expand Down Expand Up @@ -987,7 +972,6 @@ exports[`NestedListView renders without data 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
Expand Down Expand Up @@ -1020,7 +1004,6 @@ exports[`NestedListView renders without getChildrenName 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
Expand Down Expand Up @@ -1053,7 +1036,6 @@ exports[`NestedListView renders without renderNode 1`] = `
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
Expand Down

0 comments on commit 26eb45e

Please sign in to comment.