Skip to content

Commit

Permalink
Upgrade Jest DOM matchers to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Sep 4, 2023
1 parent c8dcb7e commit cc0ca4b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 60 deletions.
2 changes: 1 addition & 1 deletion client/setupTests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { configure } from "@testing-library/react";
import "@testing-library/jest-dom/extend-expect";
import "@testing-library/jest-dom";
import "whatwg-fetch";

configure({ testIdAttribute: "data-qa" });
84 changes: 26 additions & 58 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@babel/preset-react": "^7.22.5",
"@codeyourfuture/eslint-config-standard": "^4.0.3",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/jest-dom": "^6.1.2",
"@testing-library/react": "^14.0.0",
"@textbook/build-info": "^0.5.3",
"axe-core": "^4.7.2",
Expand Down

0 comments on commit cc0ca4b

Please sign in to comment.