Skip to content

Commit 9c35069

Browse files
committed
Update React Native dev dependency to 0.66
1 parent 6f127bd commit 9c35069

File tree

3 files changed

+1135
-1130
lines changed

3 files changed

+1135
-1130
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"pod-install": "^0.1.38",
6868
"prettier": "^2.7.1",
6969
"react": "^16.8.6",
70-
"react-native": "^0.60.0",
70+
"react-native": "^0.66.0",
7171
"react-native-navigation": "7.29.1",
7272
"react-navigation": "^4.4.4",
7373
"rollup": "^3.9.1",

test/setup.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ nock.disableNetConnect();
1515

1616
beforeEach(() => {
1717
IBGEventEmitter.removeAllListeners();
18-
Platform.constants = {
18+
19+
jest.spyOn(Platform, 'constants', 'get').mockReturnValue({
1920
isTesting: true,
2021
reactNativeVersion: {
2122
major: 0,
2223
minor: 60,
2324
patch: 0,
2425
},
25-
};
26+
});
2627
});

0 commit comments

Comments
 (0)