Skip to contentOpen History to see the last commit
test-setup.ts
7 lines263 Bytes
1import "@testing-library/jest-dom/vitest" 2import { cleanup } from "@testing-library/react" 3import { afterEach } from "vitest" 5global.IS_REACT_ACT_ENVIRONMENT = true 7afterEach(() => cleanup())