Skip to content

Commit fcc9644

Browse files
author
PR Batch Tester
committed
test(mobile): isolate source control in new task flow tests
1 parent 3fa8185 commit fcc9644

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/mobile/src/features/threads/new-task-flow-provider.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ vi.mock("../../state/entities", () => ({
4949
vi.mock("../../state/vcs", () => ({
5050
vcsEnvironment: { status: mocks.status, listRefs: mocks.refs },
5151
}));
52+
vi.mock("../../state/sourceControl", () => ({
53+
useSourceControlAccounts: () => ({}),
54+
}));
5255
vi.mock("../../state/projects", () => ({
5356
projectEnvironment: { readFile: mocks.readFile, openScratch: {} },
5457
}));

0 commit comments

Comments
 (0)