Skip to content

Commit

Permalink
test(jest-dom): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavPetrik committed Nov 28, 2023
1 parent 1c84f6f commit b7076bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 32 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@storybook/react-webpack5": "7.6.0",
"@storybook/testing-library": "0.2.2",
"@storybook/theming": "7.6.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "13.4.0",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.4.3",
Expand Down
5 changes: 1 addition & 4 deletions setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
import matchers from "@testing-library/jest-dom/matchers";
import { expect } from "vitest";

expect.extend(matchers);
import "@testing-library/jest-dom/vitest";
30 changes: 3 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ __metadata:
version: 8
cacheKey: 10

"@adobe/css-tools@npm:^4.0.1":
version: 4.2.0
resolution: "@adobe/css-tools@npm:4.2.0"
checksum: d6d2b48963bef725a0043b7d39c5fb12d6e42b52b8bebd746e80e1732f5160529f00fb184c0d3eb9446765727ccc8997ea8f121c54c7d33d1eb577d0feb54b6c
languageName: node
linkType: hard

"@adobe/css-tools@npm:^4.3.1":
version: 4.3.1
resolution: "@adobe/css-tools@npm:4.3.1"
Expand Down Expand Up @@ -2625,7 +2618,7 @@ __metadata:
"@storybook/react-webpack5": "npm:7.6.0"
"@storybook/testing-library": "npm:0.2.2"
"@storybook/theming": "npm:7.6.0"
"@testing-library/jest-dom": "npm:5.16.5"
"@testing-library/jest-dom": "npm:6.1.4"
"@testing-library/react": "npm:13.4.0"
"@testing-library/react-hooks": "npm:8.0.1"
"@testing-library/user-event": "npm:14.4.3"
Expand Down Expand Up @@ -5886,24 +5879,7 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/jest-dom@npm:5.16.5":
version: 5.16.5
resolution: "@testing-library/jest-dom@npm:5.16.5"
dependencies:
"@adobe/css-tools": "npm:^4.0.1"
"@babel/runtime": "npm:^7.9.2"
"@types/testing-library__jest-dom": "npm:^5.9.1"
aria-query: "npm:^5.0.0"
chalk: "npm:^3.0.0"
css.escape: "npm:^1.5.1"
dom-accessibility-api: "npm:^0.5.6"
lodash: "npm:^4.17.15"
redent: "npm:^3.0.0"
checksum: 472a14b6295a18af28b5133ecaf4d22a7bb9c50bf05e1f04a076b2e2d7c596e76cdd56a95387ad6d2a4dda0c46bc93d95cbca5b314fabe0fd13362f29118749e
languageName: node
linkType: hard

"@testing-library/jest-dom@npm:^6.1.2":
"@testing-library/jest-dom@npm:6.1.4, @testing-library/jest-dom@npm:^6.1.2":
version: 6.1.4
resolution: "@testing-library/jest-dom@npm:6.1.4"
dependencies:
Expand Down Expand Up @@ -6587,7 +6563,7 @@ __metadata:
languageName: node
linkType: hard

"@types/testing-library__jest-dom@npm:^5, @types/testing-library__jest-dom@npm:^5.9.1":
"@types/testing-library__jest-dom@npm:^5":
version: 5.14.5
resolution: "@types/testing-library__jest-dom@npm:5.14.5"
dependencies:
Expand Down

0 comments on commit b7076bd

Please sign in to comment.