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:
Neil
2026-08-03 22:46:10 -07:00
co-authored by Rod Boev Orca
parent 95d61411d9
commit 194b5c7211
@@ -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
}
]
}
})