Files
portainer--portainer/app/setup-tests/setup-rtl.ts
T
2026-07-13 12:08:39 +08:00

9 lines
166 B
TypeScript

import { cleanup, configure } from '@testing-library/react';
configure({ testIdAttribute: 'data-cy' });
afterEach(() => {
cleanup();
vi.unstubAllGlobals();
});