Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

test(bot-group): exercise active sidebar step

ethereal49d17eec35786b
diff --git a/apps/desktop/src/renderer/features/bots/__tests__/botGroupPlanPresentation.test.ts b/apps/desktop/src/renderer/features/bots/__tests__/botGroupPlanPresentation.test.ts
index b396333d2f..1ef8a3d55c 100644
--- a/apps/desktop/src/renderer/features/bots/__tests__/botGroupPlanPresentation.test.ts
+++ b/apps/desktop/src/renderer/features/bots/__tests__/botGroupPlanPresentation.test.ts
@@ -138,7 +138,7 @@ describe('分工 presentation', () => {
).toEqual({ kind: 'proposed', organizerName: '小满' });
expect(
botGroupSidebarPlanPreview(
- summary({ openPlan: openPlan({ status: 'running', currentStep: 1, currentBotName: '小满' }) }),
+ summary({ openPlan: openPlan({ status: 'running', currentStep: 1, currentBotName: '小满', currentStepStatus: 'running' }) }),
),
).toEqual({ kind: 'running', botName: '小满', step: 2, total: 3 });
expect(botGroupSidebarPlanPreview(summary({ openPlan: openPlan() }))).toEqual({