Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit f2bd567

Browse files
committed
fix: mock logbox to make tests work again
see issue callstack/react-native-testing-library#658
1 parent b0fd646 commit f2bd567

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jestSetupFile.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { NativeModules } from "react-native";
22
import "react-native-gesture-handler/jestSetup";
33

4+
jest.mock("react-native/Libraries/LogBox/LogBox");
5+
46
/**
57
* Mock react-native-config (ENVS)
68
*/

0 commit comments

Comments
 (0)