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

test-setup.ts

6 lines227 Bytes

1import '@testing-library/jest-dom/vitest'
2import { cleanup } from '@solidjs/testing-library'
3import { afterEach } from 'vitest'
4​
5// https://testing-library.com/docs/solid-testing-library/api/#cleanup
6afterEach(() => cleanup())