mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 08:03:37 +00:00
test(workspaces): update snapshot store fixtures
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user