Fix stale kiosk mode test assertion

setKioskMode(false) stores 'false' explicitly rather than removing
the key, to distinguish disabled from unset. The test expectation
was outdated.
This commit is contained in:
rcourtman
2026-02-04 13:14:50 +00:00
parent fc9c2b2477
commit f15a47c513
@@ -82,7 +82,7 @@ describe('url utils', () => {
expect(listener).toHaveBeenCalledWith(true);
setKioskMode(false);
expect(window.sessionStorage.removeItem).toHaveBeenCalledWith('pulse_kiosk_mode');
expect(window.sessionStorage.setItem).toHaveBeenCalledWith('pulse_kiosk_mode', 'false');
expect(listener).toHaveBeenCalledWith(false);
unsubscribe();