8 lines
212 B
TypeScript
8 lines
212 B
TypeScript
import '@testing-library/jest-dom';
|
|
import { cleanup } from '@testing-library/react';
|
|
import { afterEach } from 'vitest';
|
|
|
|
// Cleanup after each test case (e.g. clearing jsdom)
|
|
afterEach(() => {
|
|
cleanup();
|
|
});
|