The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): update FlowCanvasPage test to match new canvas behavior
Steven Enamakel1329f6411901
diff --git a/app/src/pages/__tests__/FlowCanvasPage.test.tsx b/app/src/pages/__tests__/FlowCanvasPage.test.tsxindex fed31e612f..9161183c64 100644--- a/app/src/pages/__tests__/FlowCanvasPage.test.tsx+++ b/app/src/pages/__tests__/FlowCanvasPage.test.tsx@@ -34,7 +34,7 @@ const setFlowEnabled = vi.hoisted(() => vi.fn());// this sidebar actually renders (and calls `listFlowRuns`) in every describe// block, not just the side-panel-switching tests. Default to an empty list so// `useFlowRunsQuery`/`useFlowRunsLiveRefresh` always see a real array.-const listFlowRuns = vi.hoisted(() => vi.fn(() => Promise.resolve([])));+const listFlowRuns = vi.hoisted(() => vi.fn<(flowId: string) => Promise<FlowRun[]>>());vi.mock('../../services/api/flowsApi', () => ({getFlow,updateFlow,