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 patrol attention workbench test

rcourtman8165eb106689
diff --git a/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx b/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx
index 035d7d88a0..67dd22bc3f 100644
--- a/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx
+++ b/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx
@@ -480,7 +480,10 @@ describe('PatrolAttentionWorkbench', () => {
const onOpenFindings = vi.fn();
render(() => (
<Router>
- <Route path="/patrol" component={() => <PatrolAttentionWorkbench onOpenFindings={onOpenFindings} />} />
+ <Route
+ path="/patrol"
+ component={() => <PatrolAttentionWorkbench onOpenFindings={onOpenFindings} />}
+ />
</Router>
));
@@ -518,7 +521,9 @@ describe('PatrolAttentionWorkbench', () => {
expect(
await screen.findByText(/These controls cover only this occurrence/i),
).toBeInTheDocument();
- expect(screen.queryByRole('button', { name: 'review Patrol findings' })).not.toBeInTheDocument();
+ expect(
+ screen.queryByRole('button', { name: 'review Patrol findings' }),
+ ).not.toBeInTheDocument();
});
it('opens the canonical governed action review from an eligible attention item', async () => {