update ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-24 12:06:43 +01:00
parent 4904bea29c
commit 850eed0766

View File

@@ -9,7 +9,10 @@ vi.mock('@mdxeditor/editor', () => import('./mocks/mdxeditor'));
afterEach(() => { afterEach(() => {
cleanup(); cleanup();
localStorage.clear(); const storage = globalThis.window?.localStorage ?? globalThis.localStorage;
if (typeof storage?.clear === 'function') {
storage.clear();
}
vi.restoreAllMocks(); vi.restoreAllMocks();
vi.useRealTimers(); vi.useRealTimers();
}); });