test: avoid raw localStorage access in chat view test

This commit is contained in:
Peter Steinberger 2026-03-28 13:10:27 +00:00
parent bccbfdebfe
commit 8c4cc61656
1 changed files with 1 additions and 5 deletions

View File

@ -462,11 +462,7 @@ describe("chat view", () => {
},
});
try {
localStorage.clear();
} catch {
/* noop */
}
getSafeLocalStorage()?.clear();
await i18n.setLocale("en");
render(renderOverview(props), container);