mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-10-14 00:57:40 +00:00
12 lines
293 B
TypeScript
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()
|
|
})
|