diff --git a/package.json b/package.json index 4816c69..6abb2d9 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,7 @@ "@testing-library/react": "^14.0.0", "@types/jest": "^27.5.2", "@types/react": "^18.2.20", + "@types/testing-library__jest-dom": "^5.14.9", "@typescript-eslint/eslint-plugin": "^6.3.0", "@typescript-eslint/parser": "^6.3.0", "eslint": "^8.47.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08d8a01..565dcb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,6 +38,9 @@ devDependencies: '@types/react': specifier: ^18.2.20 version: 18.2.20 + '@types/testing-library__jest-dom': + specifier: ^5.14.9 + version: 5.14.9 '@typescript-eslint/eslint-plugin': specifier: ^6.3.0 version: 6.3.0(@typescript-eslint/parser@6.3.0)(eslint@8.47.0)(typescript@4.9.5) diff --git a/src/index.test.tsx b/src/index.test.tsx index ad8ee73..65e0b59 100644 --- a/src/index.test.tsx +++ b/src/index.test.tsx @@ -1,4 +1,4 @@ -import "@testing-library/jest-dom/extend-expect"; +import "@testing-library/jest-dom"; import React from "react"; import { render, screen } from "@testing-library/react"; import {