Skip to content

Commit 1b3bba2

Browse files
paulschreiberammarahm-ed
authored andcommitted
remove __turboModuleProxy from jest mock
1 parent 230a466 commit 1b3bba2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

jest/mmkvJestSetup.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ if (!global.__fbBatchedBridgeConfig) {
22
global.__fbBatchedBridgeConfig = {};
33
}
44

5-
if (!global.__turboModuleProxy) {
6-
global.__turboModuleProxy = name => {
7-
return {};
8-
};
9-
}
10-
115
require('react-native').NativeModules.MMKVNative = {
126
install: jest.fn(() => true)
137
};

0 commit comments

Comments
 (0)