10 lines
229 B
TypeScript
10 lines
229 B
TypeScript
import '@testing-library/jest-dom/vitest';
|
|
import { afterEach } from 'vitest';
|
|
import { cleanup } from '@testing-library/react';
|
|
|
|
afterEach(() => {
|
|
cleanup();
|
|
window.localStorage.clear();
|
|
window.sessionStorage.clear();
|
|
});
|