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: Add missing guest filtering props to ThresholdsTable tests

rcourtman2c95961feb27
diff --git a/frontend-modern/src/components/Alerts/__tests__/ThresholdsTable.test.tsx b/frontend-modern/src/components/Alerts/__tests__/ThresholdsTable.test.tsx
index c9c0d9e0c2..40daec6bb4 100644
--- a/frontend-modern/src/components/Alerts/__tests__/ThresholdsTable.test.tsx
+++ b/frontend-modern/src/components/Alerts/__tests__/ThresholdsTable.test.tsx
@@ -158,6 +158,12 @@ const baseProps = () => ({
setDisableAllPMGOffline: vi.fn(),
disableAllDockerHostsOffline: () => false,
setDisableAllDockerHostsOffline: vi.fn(),
+ ignoredGuestPrefixes: () => [] as string[],
+ setIgnoredGuestPrefixes: vi.fn(),
+ guestTagWhitelist: () => [] as string[],
+ setGuestTagWhitelist: vi.fn(),
+ guestTagBlacklist: () => [] as string[],
+ setGuestTagBlacklist: vi.fn(),
});
const renderThresholdsTable = (options?: {