Files
gohoarder/frontend/src/test/setup.ts
T
2026-01-02 23:14:23 +00:00

12 lines
293 B
TypeScript

import { expect, afterEach } from 'vitest'
import { cleanup } from '@testing-library/vue'
import * as matchers from '@testing-library/jest-dom/matchers'
// Extend Vitest's expect with jest-dom matchers
expect.extend(matchers)
// Cleanup after each test case
afterEach(() => {
cleanup()
})