Skip to content

Commit 07dec99

Browse files
authored
revert lock state PR (#733)
1 parent 512bff5 commit 07dec99

File tree

18 files changed

+250
-1853
lines changed

18 files changed

+250
-1853
lines changed

__tests__/components/screens/HomeScreen.test.tsx

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,6 @@ import HomeScreen from "components/screens/HomeScreen";
33
import { renderWithProviders } from "helpers/testUtils";
44
import React from "react";
55

6-
jest.mock("react-native-safe-area-context", () => ({
7-
SafeAreaProvider: ({ children }: { children: React.ReactNode }) => children,
8-
useSafeAreaInsets: () => ({ top: 0, bottom: 0, left: 0, right: 0 }),
9-
}));
10-
11-
jest.mock("@gorhom/bottom-sheet", () => ({
12-
BottomSheetModalProvider: ({ children }: { children: React.ReactNode }) =>
13-
children,
14-
BottomSheetModal: "View",
15-
BottomSheetTextInput: "input",
16-
BottomSheetView: "View",
17-
BottomSheetScrollView: "ScrollView",
18-
BottomSheetFlatList: "FlatList",
19-
BottomSheetSectionList: "SectionList",
20-
BottomSheetDraggableView: "View",
21-
BottomSheetBackdrop: "View",
22-
}));
23-
24-
jest.mock("components/sds/Icon", () => ({
25-
__esModule: true,
26-
default: new Proxy({}, { get: () => "View" }),
27-
}));
28-
29-
jest.mock("components/screens/HomeScreen/ManageAccountBottomSheet", () => ({
30-
__esModule: true,
31-
default: function MockManageAccountBottomSheet() {
32-
return null;
33-
},
34-
}));
35-
36-
jest.mock("components/analytics/DebugBottomSheet", () => ({
37-
DebugBottomSheet: function MockDebugBottomSheet() {
38-
return null;
39-
},
40-
}));
41-
426
jest.mock("components/primitives/Menu", () => {
437
const MenuRoot = ({ children }: { children: React.ReactNode }) => (
448
<div data-testid="menu-root">{children}</div>

0 commit comments

Comments
 (0)