mirror of https://github.com/openclaw/openclaw.git
test: avoid raw localStorage access in chat view test
This commit is contained in:
parent
bccbfdebfe
commit
8c4cc61656
|
|
@ -462,11 +462,7 @@ describe("chat view", () => {
|
|||
},
|
||||
});
|
||||
|
||||
try {
|
||||
localStorage.clear();
|
||||
} catch {
|
||||
/* noop */
|
||||
}
|
||||
getSafeLocalStorage()?.clear();
|
||||
await i18n.setLocale("en");
|
||||
|
||||
render(renderOverview(props), container);
|
||||
|
|
|
|||
Loading…
Reference in New Issue