Skip to content

Commit 22e5021

Browse files
committed
fix: JS unit tests
1 parent 8bac1c2 commit 22e5021

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

FabricExample/jestSetup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import "react-native-gesture-handler/jestSetup";
22

33
require("react-native-reanimated/lib/module/jestUtils").setUpTests();
44

5+
jest.mock("react-native-worklets", () =>
6+
require("react-native-worklets/src/mock"),
7+
);
8+
59
jest.mock("react-native-keyboard-controller", () =>
610
require("react-native-keyboard-controller/jest"),
711
);

0 commit comments

Comments
 (0)