Files
flyer-crawler.projectium.com/vitest.setup.ts
Torben Sorensen fed1df656d
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 23s
unit tests !
2025-11-12 10:39:42 -08:00

9 lines
296 B
TypeScript

// vitest.setup.ts
import { afterEach } from 'vitest';
import { cleanup } from '@testing-library/react';
import '@testing-library/jest-dom/vitest';
// You can add any other global setup here if needed.
// Automatically run cleanup after each test case (e.g., clearing jsdom)
afterEach(cleanup);