mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 19:01:44 +00:00
test: avoid raw localStorage access in chat view test
This commit is contained in:
@@ -462,11 +462,7 @@ describe("chat view", () => {
|
||||
},
|
||||
});
|
||||
|
||||
try {
|
||||
localStorage.clear();
|
||||
} catch {
|
||||
/* noop */
|
||||
}
|
||||
getSafeLocalStorage()?.clear();
|
||||
await i18n.setLocale("en");
|
||||
|
||||
render(renderOverview(props), container);
|
||||
|
||||
Reference in New Issue
Block a user