mirror of
https://github.com/stablyai/orca.git
synced 2026-10-21 00:03:46 +00:00
fix(test): complete the BrowserWorkspace fixture in the ported palette test
The fixture came over from #8966 as a bare { id }, which vitest accepts but tsconfig.tc.web (the config CI typechecks tests with) rejects: BrowserWorkspace has gained required fields since that PR was opened. Co-authored-by: Rod Boev <rod.boev@gmail.com> Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -250,7 +250,20 @@ describe('WorktreeJumpPalette', () => {
|
||||
worktreesByRepo: { 'repo-1': [defaultBranch, feature, folderMain] },
|
||||
showSleepingWorkspaces: false,
|
||||
browserTabsByWorktree: {
|
||||
feature: [{ id: 'browser-tab-1' }]
|
||||
feature: [
|
||||
{
|
||||
id: 'browser-tab-1',
|
||||
worktreeId: 'feature',
|
||||
url: 'https://example.com',
|
||||
title: 'example.com',
|
||||
loading: false,
|
||||
faviconUrl: null,
|
||||
canGoBack: false,
|
||||
canGoForward: false,
|
||||
loadError: null,
|
||||
createdAt: 0
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user