Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Type the Patrol run test's summary mock restore

rcourtmana543907130db
diff --git a/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx b/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx
index 5474998bdb..6ae0100ff0 100644
--- a/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx
+++ b/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx
@@ -935,7 +935,7 @@ describe('AIIntelligence entitlement gating', () => {
});
expect(screen.queryByRole('button', { name: /Starting/i })).not.toBeInTheDocument();
} finally {
- loadIntelligenceSummary.mockResolvedValue(undefined);
+ loadIntelligenceSummary.mockResolvedValue(null);
}
});