Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

setup.ts

7 lines146 Bytes

1import { cleanup } from '@testing-library/react'
2import { afterEach } from 'vitest'
3​
4// Clean up after each test
5afterEach(() => {
6 cleanup()
7})