✅(react) add jest-dom dependency
We want to be able to use convenience methods like "toBeInTheDocument".
This commit is contained in:
@@ -70,8 +70,10 @@
|
||||
"@storybook/storybook-deployer": "2.8.16",
|
||||
"@storybook/testing-library": "0.0.13",
|
||||
"@testing-library/dom": "9.2.0",
|
||||
"@testing-library/jest-dom": "5.16.5",
|
||||
"@testing-library/react": "14.0.0",
|
||||
"@testing-library/user-event": "14.4.3",
|
||||
"@types/jest": "29.5.0",
|
||||
"@types/react": "18.0.31",
|
||||
"@types/react-dom": "18.0.11",
|
||||
"@vitejs/plugin-react": "3.1.0",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import "@testing-library/jest-dom";
|
||||
import createFetchMock from "vitest-fetch-mock";
|
||||
import { vi } from "vitest";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user