Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 23s
9 lines
296 B
TypeScript
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); |