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:
parent
f26e4f47df
commit
eb2cfe9a2f
19 changed files with 1 additions and 24 deletions
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue