Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
test(switchdash): mock managed-server-status in the create-bridge test
amaudruzc220b0c00425
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.test.ts b/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.test.tsindex 7680abbd8..1658ba352 100644--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.test.ts+++ b/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.test.ts@@ -4,6 +4,12 @@ const getSessionCookie = vi.hoisted(() => vi.fn());const refreshSession = vi.hoisted(() => vi.fn());const reauthenticateManagedServer = vi.hoisted(() => vi.fn());+const managedServerHostBlocked = vi.hoisted(() => vi.fn(() => null));++vi.mock('@main/core/managed-switch-server/managed-server-status', () => ({+ managedServerHostBlocked,+}));+vi.mock('./servers-store', () => ({ getSessionCookie }));vi.mock('./auth', () => ({ refreshSession, reauthenticateManagedServer }));