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.

Allow bounded alert observations in the host drawer fixture

pulse-triage[bot]8d2288f1be98
diff --git a/frontend-modern/browser-tests/host-disk-usage.tsx b/frontend-modern/browser-tests/host-disk-usage.tsx
index 6cdf62a72e..d0090adcaf 100644
--- a/frontend-modern/browser-tests/host-disk-usage.tsx
+++ b/frontend-modern/browser-tests/host-disk-usage.tsx
@@ -48,7 +48,11 @@ render(
<WebSocketContext.Provider
value={
{
- activeAlerts: {},
+ // Browser-supplied, synthetic alert observations. This exercises the
+ // same consuming surface without a live agent or induced alert.
+ activeAlerts:
+ (window as Window & { __hostDiskAlerts?: WebSocketStore['activeAlerts'] })
+ .__hostDiskAlerts ?? {},
state: { pmg: [] },
connected: () => false,
} as unknown as WebSocketStore