mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 08:02:12 +00:00
test(integrations): cover the health field on the status routes
This commit is contained in:
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() } },
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user