test(integrations): cover the health field on the status routes

This commit is contained in:
Marc-André Bombeck committed 2026-10-15 11:15:06 +02:00
1 parent 8162afc0e1
commit f2646bc186
4 files changed
+49

No files matched your search

@@ -5,6 +5,9 @@ vi.mock("@/lib/api-handler", () => ({
requireAuth: vi.fn(async () => ({ user: { id: "u1" } })),
}));
vi.mock("@/lib/integrations/connection-health-load", () => ({
loadOneConnectionHealth: vi.fn().mockResolvedValue(null),
}));
vi.mock("@/lib/db", () => ({
prisma: { user: { findUnique: vi.fn() } },
}));