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 sparse History window regression assertion

pulse-triage[bot]b405f8d99b25
diff --git a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.window.test.tsx b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.window.test.tsx
index 42e4a6d2c9..4492aa1a35 100644
--- a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.window.test.tsx
+++ b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.window.test.tsx
@@ -177,7 +177,9 @@ describe('GuestDrawerHistory shared time window', () => {
it('keeps an empty valid query window without inventing observations or a trend', async () => {
vi.spyOn(ChartsAPI, 'getMetricsHistory').mockResolvedValue(response({ metrics: {} }));
mount();
- await waitFor(() => expect(screen.getAllByText('No stored history in this range')).toHaveLength(4));
+ await waitFor(() =>
+ expect(screen.getAllByText('No stored history in this range')).toHaveLength(4),
+ );
expect(screen.queryByRole('slider')).toBeNull();
expect(document.querySelectorAll('path')).toHaveLength(0);
expect(screen.getAllByTestId('guest-history-time-window')).toHaveLength(4);