Files
memohanzi/vitest.setup.ts
2025-11-21 09:51:16 +01:00

9 lines
188 B
TypeScript

import '@testing-library/jest-dom'
import { expect, afterEach } from 'vitest'
import { cleanup } from '@testing-library/react'
// Cleanup after each test
afterEach(() => {
cleanup()
})