Ver código fonte

fix(web-read-card): add archivedSessionIds to read-card.spec workspace state

The master merge added a required archivedSessionIds field to WorkspaceListState;
the read-card spec's DetailsPanel fixture state needs it to typecheck.
Chinesezjc 2 meses atrás
pai
commit
b140590451

+ 1 - 1
packages/client/ui-conversation/tests/read-card.spec.tsx

@@ -231,7 +231,7 @@ describe('DetailsPanel Output section (read)', () => {
         phase: 'ready',
       })
     const workspaces = createSnapshotStore<WorkspaceListState>({
-      items: [], state: 'idle', phase: 'ready', error: null,
+      items: [], archivedSessionIds: [], state: 'idle', phase: 'ready', error: null,
       baselinesReady: true, recentWorkspaceId: undefined,
     })
     return render(