We believe this change will fix the failing test. Node 26.10.0 (bumped in this PR's .nvmrc) now exposes a global localStorage that resolves to undefined without a --localstorage-file flag, and Vitest's jsdom environment doesn't override this global, so window.localStorage in the test teardown throws Cannot read properties of undefined (reading 'clear'). Wrapping the cleanup call in try/catch mirrors the existing pattern already used in cache-replacement.test.ts for this same environment quirk.
Failed after MSManuel SchillerView latest
bump node version to 26.10.0
85091860ed4Open on GitHubThis code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.