Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

vitest.setup.ts

8 lines209 Bytes

1// oxlint-disable-next-line no-unassigned-import
2import "@testing-library/jest-dom/vitest"
3import { cleanup } from "@testing-library/react"
4import { afterEach } from "vitest"
5​
6afterEach(() => {
7 cleanup()
8})