You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix flaky localStorage test setup across Node versions
The persistThemeOptions test passed on Node 26 (local) but failed in CI
on Node 22: the setup only polyfilled window.localStorage when methods
were missing, but Node 22's experimental localStorage exposes methods
that silently no-op without --localstorage-file, so writes were dropped
and setItem was never observed. Install the in-memory polyfill
unconditionally so storage behaves identically everywhere.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments