test: Move @testing-library/jest-dom import to test setup file

This removes `@testing-library/jest-dom` from single test files and adds it to the shared setup.ts file.
This commit is contained in:
regexowl 2024-07-19 16:03:26 +02:00 committed by Ondřej Ezr
parent f26e4f47df
commit eb2cfe9a2f
19 changed files with 1 additions and 24 deletions

View file

@ -1,4 +1,3 @@
import '@testing-library/jest-dom';
import { screen, waitFor, within } from '@testing-library/react';
import userEvent from '@testing-library/user-event';