test(workspaces): update snapshot store fixtures

This commit is contained in:
Brennan Benson
2026-08-10 18:03:07 -07:00
parent b6fffb7d7c
commit 3f71896264
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -151,6 +151,7 @@ describe('registerWorktreeHandlers – Windows path handling', () => {
}
}
const store = {
getProfileStorageDirectory: vi.fn(() => '/profile-a'),
getRepos: vi.fn(),
getRepo: vi.fn(),
getProjects: vi.fn(),
@@ -165,8 +165,9 @@ function createMainWindow(
function createStore(): Store & { flushPendingAsync: MockFn } {
return {
getProfileStorageDirectory: vi.fn(() => '/profile-a'),
flushPendingAsync: vi.fn(() => Promise.resolve())
} as Store & { flushPendingAsync: MockFn }
} as unknown as Store & { flushPendingAsync: MockFn }
}
function createRuntime(): RuntimeStub {