test: create vitest setup file for testing library cleanup

This commit is contained in:
2026-04-18 17:39:10 +00:00
parent 67709ca953
commit d994391834

6
frontend/tests/setup.ts Normal file
View File

@@ -0,0 +1,6 @@
import { expect, afterEach } from 'vitest'
import { cleanup } from '@testing-library/react'
afterEach(() => {
cleanup()
})