wealth/tools/vitest-setup.ts

5 lines
107 B
TypeScript

import { cleanup } from '@testing-library/react';
import { afterEach } from 'vitest';
afterEach(cleanup);