ManiCandles/test/setup.ts

7 lines
145 B
TypeScript

import { afterEach } from "vitest";
import { cleanup } from "@testing-library/react";
afterEach(() => {
cleanup();
localStorage.clear();
});