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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix typecheck of identified-service test fixtures
rcourtman77cfd6aa4abc
diff --git a/frontend-modern/src/components/Workloads/GuestDrawer.test.tsx b/frontend-modern/src/components/Workloads/GuestDrawer.test.tsxindex e43c1eb43a..72765fc067 100644--- a/frontend-modern/src/components/Workloads/GuestDrawer.test.tsx+++ b/frontend-modern/src/components/Workloads/GuestDrawer.test.tsx@@ -50,7 +50,10 @@ vi.mock('../Discovery/DiscoveryTab', () => ({}));const discoveryApiMocks = vi.hoisted(() => ({- getDiscovery: vi.fn(async () => null),+ getDiscovery: vi.fn(+ async (..._args: unknown[]): Promise<import('@/types/discovery').ResourceDiscovery | null> =>+ null,+ ),}));vi.mock('@/api/discovery', async () => {@@ -197,7 +200,7 @@ describe('GuestDrawer', () => {config_paths: ['/opt/homepage/config'],data_paths: [],log_paths: [],- });+ } as unknown as import('@/types/discovery').ResourceDiscovery);render(() => <GuestDrawer guest={makeGuest()} onClose={vi.fn()} />);diff --git a/frontend-modern/src/utils/__tests__/discoveryPresentation.test.ts b/frontend-modern/src/utils/__tests__/discoveryPresentation.test.tsindex 23c67ddc7b..e3162e211f 100644--- a/frontend-modern/src/utils/__tests__/discoveryPresentation.test.ts+++ b/frontend-modern/src/utils/__tests__/discoveryPresentation.test.ts@@ -194,7 +194,7 @@ describe('discoveryPresentation', () => {config_paths: [],data_paths: [],log_paths: [],- } as ResourceDiscovery),+ } as unknown as ResourceDiscovery),).toBeNull();});});