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,6 +1,5 @@
import React from 'react';
import '@testing-library/jest-dom';
import { screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';