veza/apps/web/src/setupTests.ts

9 lines
212 B
TypeScript
Raw Normal View History

2025-12-13 02:34:34 +00:00
import '@testing-library/jest-dom';
import { cleanup } from '@testing-library/react';
import { afterEach } from 'vitest';
// Cleanup after each test case (e.g. clearing jsdom)
afterEach(() => {
cleanup();
});