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.

Format the inventory availability regression

pulse-triage[bot]b6eabcece8fd
diff --git a/frontend-modern/src/components/Settings/__tests__/useReportingPanelState.test.ts b/frontend-modern/src/components/Settings/__tests__/useReportingPanelState.test.ts
index c3ec508f07..ad8813d059 100644
--- a/frontend-modern/src/components/Settings/__tests__/useReportingPanelState.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/useReportingPanelState.test.ts
@@ -191,7 +191,9 @@ describe('useReportingPanelState', () => {
"VM inventory is unavailable. Check this organization's infrastructure connections before running again.";
apiFetchMock.mockImplementation((url: string) => {
if (url.startsWith('/api/admin/reports/inventory/vms/export?')) {
- return Promise.resolve(jsonResponse({ code: 'inventory_unavailable', error: message }, 503));
+ return Promise.resolve(
+ jsonResponse({ code: 'inventory_unavailable', error: message }, 503),
+ );
}
return Promise.resolve(
jsonResponse(url.endsWith('/schedules') ? schedulesPayload : catalogPayload),