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.

style(web): format toast recovery regression

pulse-triage[bot]4f56ffdb7337
diff --git a/frontend-modern/src/components/Toast/__tests__/Toast.test.tsx b/frontend-modern/src/components/Toast/__tests__/Toast.test.tsx
index 632474b355..8187601f20 100644
--- a/frontend-modern/src/components/Toast/__tests__/Toast.test.tsx
+++ b/frontend-modern/src/components/Toast/__tests__/Toast.test.tsx
@@ -17,7 +17,12 @@ describe('Toast', () => {
['success', 'status', 'polite'],
['info', 'status', 'polite'],
] as const)('preserves %s announcement semantics without moving focus', (type, role, live) => {
- render(() => <><button>Recovery action</button><ToastContainer /></>);
+ render(() => (
+ <>
+ <button>Recovery action</button>
+ <ToastContainer />
+ </>
+ ));
const action = screen.getByRole('button', { name: 'Recovery action' });
action.focus();