Files
frontend-svelte/vitest.setup.component.ts
2026-01-06 12:21:33 +03:00

13 lines
232 B
TypeScript

import * as matchers from '@testing-library/jest-dom/matchers';
import { cleanup } from '@testing-library/svelte';
import {
afterEach,
expect,
} from 'vitest';
expect.extend(matchers);
afterEach(() => {
cleanup();
});