Skip to content

Commit 1b678df

Browse files
authored
chore: upgrade react testing library extensions (freeCodeCamp#54106)
1 parent 3f965db commit 1b678df

File tree

3 files changed

+91
-50
lines changed

3 files changed

+91
-50
lines changed

Diff for: jest.setup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import '@testing-library/jest-dom/extend-expect';
1+
import '@testing-library/jest-dom';

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@
106106
"@babel/preset-react": "7.23.3",
107107
"@babel/preset-typescript": "7.23.3",
108108
"@playwright/test": "^1.41.2",
109-
"@testing-library/cypress": "9.0.0",
110-
"@testing-library/dom": "8.20.1",
111-
"@testing-library/jest-dom": "5.17.0",
109+
"@testing-library/cypress": "10.0.1",
110+
"@testing-library/dom": "9.3.4",
111+
"@testing-library/jest-dom": "6.4.2",
112112
"@testing-library/user-event": "14.5.2",
113113
"@types/jest": "29.5.12",
114114
"@types/lodash": "4.14.202",

Diff for: pnpm-lock.yaml

+87-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)