mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
style(web): format toast recovery regression
Apply the repository Prettier contract to the accepted toast accessibility test so the Frontend publication check can evaluate the complete recovery-feedback batch. Change-source: pulse-maintainer
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user