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.

Fix FindingsPanel.links test drift on remediation-plan store surface

rcourtman29d0e87dc788
diff --git a/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx b/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx
index cc3b94cd36..5620071e8b 100644
--- a/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx
+++ b/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx
@@ -119,8 +119,12 @@ vi.mock('@/stores/aiIntelligence', () => ({
get pendingApprovalCount() {
return 0;
},
+ get remediationPlans() {
+ return [];
+ },
findingsSignal: () => mockState.findings,
loadFindings: mockState.loadFindings,
+ loadRemediationPlans: vi.fn(),
},
}));