Add test for alert dismissal
This also fixes an edge case in the `useLocalStorageSpy` helper, which didn't initialise the localStorage getter properly in the case that earlier, unrelated `describe` blocks in the same suite rely on real `localStorage` behaviour, or just don't need it to be mocked.
Showing
Please register or sign in to comment