lotr-sut/sut/frontend/test/setup.ts
Fellowship Scholar f6a5823439 init commit
2026-03-29 20:07:56 +00:00

15 lines
324 B
TypeScript

/**
* test/setup.ts
* Global test setup file for Vitest
* Imports @testing-library/jest-dom for extended matchers
*/
import '@testing-library/jest-dom';
import { expect, afterEach, vi } from 'vitest';
import { cleanup } from '@testing-library/react';
// Cleanup after each test case
afterEach(() => {
cleanup();
});