Skip to content

Commit 63f7731

Browse files
chore: update react-native to 0.68.2 (#1009)
* chore: update react-native to 0.68.2 * chore: update workflow node version to 14 * chore: fix flow * chote: increase jest timeout
1 parent 8e0a108 commit 63f7731

File tree

5 files changed

+858
-521
lines changed

5 files changed

+858
-521
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ aliases:
1212

1313
defaults: &defaults
1414
docker:
15-
- image: circleci/node:12
15+
- image: circleci/node:14
1616
working_directory: ~/react-native-testing-library
1717

1818
jobs:

.flowconfig

-6
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ flow-typed/
3131
server.max_workers=4
3232
emoji=true
3333

34-
esproposal.optional_chaining=enable
35-
esproposal.nullish_coalescing=enable
36-
37-
well_formed_exports=true
38-
types_first=true
39-
4034
module.file_ext=.js
4135
module.file_ext=.json
4236
module.file_ext=.ios.js

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"cp-cli": "^2.0.0",
4747
"dedent": "^0.7.0",
4848
"del-cli": "^3.0.1",
49-
"eslint": "^7.0.0",
50-
"flow-bin": "^0.141.0",
49+
"eslint": "^7.32.0",
50+
"flow-bin": "~0.170.0",
5151
"flow-copy-source": "^2.0.9",
5252
"jest": "^27.0.0",
5353
"react": "^17.0.2",
54-
"react-native": "^0.66.0",
54+
"react-native": "~0.68.2",
5555
"react-test-renderer": "^17.0.2",
5656
"release-it": "^14.0.3",
5757
"strip-ansi": "^6.0.0",
@@ -87,7 +87,7 @@
8787
"testPathIgnorePatterns": [
8888
"timerUtils"
8989
],
90-
"testTimeout": 30000,
90+
"testTimeout": 60000,
9191
"transformIgnorePatterns": [
9292
"/node_modules/(?!(@react-native|react-native)/).*/"
9393
]

src/__tests__/__snapshots__/render.test.tsx.snap

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ exports[`debug 1`] = `
3232
accessible={true}
3333
collapsable={false}
3434
focusable={true}
35-
nativeID=\\"animatedComponent\\"
3635
onClick={[Function onClick]}
3736
onResponderGrant={[Function onResponderGrant]}
3837
onResponderMove={[Function onResponderMove]}
@@ -96,6 +95,7 @@ exports[`debug changing component: bananaFresh button message should now be "fre
9695
/>
9796
<View
9897
accessible={true}
98+
collapsable={false}
9999
focusable={true}
100100
onClick={[Function onClick]}
101101
onResponderGrant={[Function onResponderGrant]}
@@ -266,7 +266,6 @@ exports[`debug: with message 1`] = `
266266
accessible={true}
267267
collapsable={false}
268268
focusable={true}
269-
nativeID=\\"animatedComponent\\"
270269
onClick={[Function onClick]}
271270
onResponderGrant={[Function onResponderGrant]}
272271
onResponderMove={[Function onResponderMove]}
@@ -305,7 +304,6 @@ exports[`toJSON 1`] = `
305304
accessible={true}
306305
collapsable={false}
307306
focusable={false}
308-
nativeID="animatedComponent"
309307
onClick={[Function]}
310308
onResponderGrant={[Function]}
311309
onResponderMove={[Function]}

0 commit comments

Comments
 (0)