9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
import "@testing-library/jest-dom/vitest";
|
|
import { cleanup } from "@testing-library/react";
|
|
import { afterEach } from "vitest";
|
|
|
|
// Auto-cleanup désactivé (vitest sans `globals: true`) → cleanup explicite.
|
|
afterEach(() => {
|
|
cleanup();
|
|
});
|