Skip to content

Commit

Permalink
Update jest-dom, make TS aware (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Mar 20, 2024
1 parent fde78ae commit ed5e72c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 24 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@swc/core": "^1.3.32",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/css-mediaquery": "^0.1.1",
Expand All @@ -53,7 +53,7 @@
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.0.0",
"jest": "^29.6.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.5.0",
"jest-fail-on-console": "^3.0.0",
"jest-watch-typeahead": "^2.2.2",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"preserveWatchOutput": true
"preserveWatchOutput": true,
"types": ["node", "jest", "@testing-library/jest-dom"]
}
}
56 changes: 35 additions & 21 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed5e72c

Please sign in to comment.