From 87b271b5a67f51f8a464f8668c6b02d6ca44048d Mon Sep 17 00:00:00 2001 From: Zack Jackson Date: Sat, 6 Jul 2024 15:16:00 -0700 Subject: [PATCH] chore(deps): update dependency @testing-library/jest-dom to v6 (#4209) --- pnpm-lock.yaml | 42 +++++++++++++------ .../packages/host/package.json | 2 +- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 416a4c9cf2..cab9ddd17d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13135,8 +13135,8 @@ importers: specifier: 10.0.2 version: 10.0.2(cypress@13.12.0) '@testing-library/jest-dom': - specifier: 5.17.0 - version: 5.17.0 + specifier: 6.4.6 + version: 6.4.6(@types/jest@29.5.12)(jest@29.7.0) '@testing-library/react': specifier: 14.3.1 version: 14.3.1(react-dom@18.3.1)(react@18.3.1) @@ -36702,17 +36702,35 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/jest-dom@5.17.0: - resolution: {integrity: sha512-ynmNeT7asXyH3aSVv4vvX4Rb+0qjOhdNHnO/3vuZNqPmhDpV/+rCSGwQ7bLcmU2cJ4dvoheIO85LQj0IbJHEtg==} - engines: {node: '>=8', npm: '>=6', yarn: '>=1'} + /@testing-library/jest-dom@6.4.6(@types/jest@29.5.12)(jest@29.7.0): + resolution: {integrity: sha512-8qpnGVincVDLEcQXWaHOf6zmlbwTKc6Us6PPu4CRnPXCzo2OGBS5cwgMMOWdxDpEz1mkbvXHpEy99M5Yvt682w==} + engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + peerDependencies: + '@jest/globals': '>= 28' + '@types/bun': latest + '@types/jest': '>= 28' + jest: '>= 28' + vitest: '>= 0.32' + peerDependenciesMeta: + '@jest/globals': + optional: true + '@types/bun': + optional: true + '@types/jest': + optional: true + jest: + optional: true + vitest: + optional: true dependencies: '@adobe/css-tools': 4.4.0 '@babel/runtime': 7.24.7 - '@types/testing-library__jest-dom': 5.14.9 + '@types/jest': 29.5.12 aria-query: 5.3.0 chalk: 3.0.0 css.escape: 1.5.1 - dom-accessibility-api: 0.5.16 + dom-accessibility-api: 0.6.3 + jest: 29.7.0 lodash: 4.17.21 redent: 3.0.0 dev: true @@ -37438,12 +37456,6 @@ packages: tapable: 2.2.1 dev: true - /@types/testing-library__jest-dom@5.14.9: - resolution: {integrity: sha512-FSYhIjFlfOpGSRyVoMBMuS3ws5ehFQODymf3vlI7U1K8c7PHwWwFY7VREfmsuzHSOnoKs/9/Y983ayOs7eRzqw==} - dependencies: - '@types/jest': 29.5.12 - dev: true - /@types/tough-cookie@4.0.5: resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} dev: true @@ -46743,6 +46755,10 @@ packages: resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==} dev: true + /dom-accessibility-api@0.6.3: + resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==} + dev: true + /dom-align@1.12.4: resolution: {integrity: sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==} dev: false diff --git a/typescript-react-monorepo-test/packages/host/package.json b/typescript-react-monorepo-test/packages/host/package.json index 172ab0d666..34d6caf159 100644 --- a/typescript-react-monorepo-test/packages/host/package.json +++ b/typescript-react-monorepo-test/packages/host/package.json @@ -25,7 +25,7 @@ "@babel/preset-react": "7.24.7", "@babel/preset-typescript": "7.24.7", "@testing-library/cypress": "10.0.2", - "@testing-library/jest-dom": "5.17.0", + "@testing-library/jest-dom": "6.4.6", "@testing-library/react": "14.3.1", "@types/jest": "29.5.12", "@types/react": "18.3.3",