Skip to content
TypeScript

test(mobile): load the branch occupancy test without native sources (#27063)

maria1fe8ddd222d1
diff --git a/apps/mobile/src/features/threads/git/GitBranchesSheet.occupancy.test.tsx b/apps/mobile/src/features/threads/git/GitBranchesSheet.occupancy.test.tsx
index 7667b0c793f..e611b95d3f6 100644
--- a/apps/mobile/src/features/threads/git/GitBranchesSheet.occupancy.test.tsx
+++ b/apps/mobile/src/features/threads/git/GitBranchesSheet.occupancy.test.tsx
@@ -30,6 +30,8 @@ vi.mock("../../../components/ui/AppText", () => ({
AppTextInput: () => null,
}));
vi.mock("./gitSheetComponents", () => ({ SheetActionButton: () => null }));
+vi.mock("../../../state/entities", () => ({}));
+vi.mock("../../../state/threads", () => ({}));
vi.mock("../../../state/use-thread-selection", () => ({
useThreadSelection: () => ({
selectedThread: { environmentId: "environment-1", worktreePath: checkout.worktreePath },