From a0de9d58226f3aacbca9495934b9474c1bcea030 Mon Sep 17 00:00:00 2001 From: Andrew Huth Date: Mon, 13 Nov 2023 07:36:28 -0500 Subject: [PATCH] chore: update jest-dom to v6 --- package.json | 2 +- tsconfig.json | 2 +- yarn.lock | 54 +++++++++++++++++++++++---------------------------- 3 files changed, 26 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index ed514842e0..8834e325be 100644 --- a/package.json +++ b/package.json @@ -132,7 +132,7 @@ "@storybook/react-webpack5": "^7.5.2", "@storybook/testing-library": "^0.2.0", "@storybook/testing-react": "^2.0.1", - "@testing-library/jest-dom": "^5.17.0", + "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.5.1", "@types/jest": "^29.5.7", diff --git a/tsconfig.json b/tsconfig.json index aa1785cd95..cf7d644325 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "include": ["src", ".storybook/**/*"], + "include": ["src", ".storybook/**/*", "./jest/jest.setup.ts"], "compilerOptions": { "allowJs": false, "allowSyntheticDefaultImports": true, diff --git a/yarn.lock b/yarn.lock index cfecdfe41d..fdc6dedad2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,10 +12,10 @@ __metadata: languageName: node linkType: hard -"@adobe/css-tools@npm:^4.0.1": - version: 4.2.0 - resolution: "@adobe/css-tools@npm:4.2.0" - checksum: d6d2b48963bef725a0043b7d39c5fb12d6e42b52b8bebd746e80e1732f5160529f00fb184c0d3eb9446765727ccc8997ea8f121c54c7d33d1eb577d0feb54b6c +"@adobe/css-tools@npm:^4.3.1": + version: 4.3.1 + resolution: "@adobe/css-tools@npm:4.3.1" + checksum: 039a42ffdd41ecf3abcaf09c9fef0ffd634ccbe81c04002fc989e74564eba99bb19169a8f48dadf6442aa2c5c9f0925a7b27ec5c36a1ed1a3515fe77d6930996 languageName: node linkType: hard @@ -2625,7 +2625,7 @@ __metadata: "@storybook/react-webpack5": "npm:^7.5.2" "@storybook/testing-library": "npm:^0.2.0" "@storybook/testing-react": "npm:^2.0.1" - "@testing-library/jest-dom": "npm:^5.17.0" + "@testing-library/jest-dom": "npm:^6.1.4" "@testing-library/react": "npm:^14.0.0" "@testing-library/user-event": "npm:^14.5.1" "@tippyjs/react": "npm:^4.2.6" @@ -6309,20 +6309,33 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:^5.17.0": - version: 5.17.0 - resolution: "@testing-library/jest-dom@npm:5.17.0" +"@testing-library/jest-dom@npm:^6.1.4": + version: 6.1.4 + resolution: "@testing-library/jest-dom@npm:6.1.4" dependencies: - "@adobe/css-tools": "npm:^4.0.1" + "@adobe/css-tools": "npm:^4.3.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: 5a75f2094f935d2da58ea1d2b3d0c9f58dc0bca2592f2ca8125176596b4adba88b742b7553ef228e2085eadcb498ce6cece3e78402e34e6af7b6bc26bf0a0baa + peerDependencies: + "@jest/globals": ">= 28" + "@types/jest": ">= 28" + jest: ">= 28" + vitest: ">= 0.32" + peerDependenciesMeta: + "@jest/globals": + optional: true + "@types/jest": + optional: true + jest: + optional: true + vitest: + optional: true + checksum: e5a0cdb96eec509c0c85f2b7a0d08fc1c9f6c10aa49bba0d738bf4bb114c3472b92ace5067aedfaaf848ae13b38ba9296047c219aa24b66c87aa16de33341fdb languageName: node linkType: hard @@ -6655,16 +6668,6 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:*": - version: 29.4.0 - resolution: "@types/jest@npm:29.4.0" - dependencies: - expect: "npm:^29.0.0" - pretty-format: "npm:^29.0.0" - checksum: 4c1af4b9b7fa1efeae50cba82cab03e48e77479cf1725667014b689570f2ed6ac6345bd958b7e6b93e6fc96116ede052fac58c5043c7e92546f7bce4024a3f7e - languageName: node - linkType: hard - "@types/jest@npm:^29.5.7": version: 29.5.7 resolution: "@types/jest@npm:29.5.7" @@ -6994,15 +6997,6 @@ __metadata: languageName: node linkType: hard -"@types/testing-library__jest-dom@npm:^5.9.1": - version: 5.14.5 - resolution: "@types/testing-library__jest-dom@npm:5.14.5" - dependencies: - "@types/jest": "npm:*" - checksum: 8c4d3dfd8011d9cf57ca6a15962fc02fcf0f506088a126dfacb7b8197f5ef593fce8f57aa878904b1e100e31fff571fca6f022a789482684dac2661b83c6721d - languageName: node - linkType: hard - "@types/through@npm:*": version: 0.0.30 resolution: "@types/through@npm:0.0.30"