diff --git a/frontend-modern/src/components/Toast/__tests__/Toast.test.tsx b/frontend-modern/src/components/Toast/__tests__/Toast.test.tsx index 632474b35..8187601f2 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(() => <>); + render(() => ( + <> + + + + )); const action = screen.getByRole('button', { name: 'Recovery action' }); action.focus();