diff --git a/package.json b/package.json index 2a751aa4..0aa0d6ef 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@storybook/testing-library": "^0.2.2", "@storybook/theming": "^7.6.17", "@testing-library/jest-dom": "^6.5.0", - "@testing-library/react": "^14.2.1", + "@testing-library/react": "^16.0.1", "@types/jest": "^29.5.12", "@types/lodash-es": "^4.17.12", "@types/react": "^18.3.0", diff --git a/yarn.lock b/yarn.lock index 80938e0f..974084cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2554,7 +2554,7 @@ __metadata: "@storybook/testing-library": "npm:^0.2.2" "@storybook/theming": "npm:^7.6.17" "@testing-library/jest-dom": "npm:^6.5.0" - "@testing-library/react": "npm:^14.2.1" + "@testing-library/react": "npm:^16.0.1" "@types/jest": "npm:^29.5.12" "@types/lodash-es": "npm:^4.17.12" "@types/react": "npm:^18.3.0" @@ -4825,17 +4825,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^14.2.1": - version: 14.3.1 - resolution: "@testing-library/react@npm:14.3.1" +"@testing-library/react@npm:^16.0.1": + version: 16.0.1 + resolution: "@testing-library/react@npm:16.0.1" dependencies: "@babel/runtime": "npm:^7.12.5" - "@testing-library/dom": "npm:^9.0.0" - "@types/react-dom": "npm:^18.0.0" peerDependencies: + "@testing-library/dom": ^10.0.0 + "@types/react": ^18.0.0 + "@types/react-dom": ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 - checksum: 10/83359dcdf9eaf067839f34604e1a181cbc14fc09f3a07672403700fcc6a900c4b8054ad1114fc24b4b9f89d84e2a09e1b7c9afce2306b1d4b4c9e30eb1cb12de + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 10/904b48881cf5bd208e25899e168f5c99c78ed6d77389544838d9d861a038d2c5c5385863ee9a367436770cbf7d21c5e05a991b9e24a33806e9ac985df2448185 languageName: node linkType: hard @@ -5264,7 +5270,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.3.0": +"@types/react-dom@npm:^18.3.0": version: 18.3.0 resolution: "@types/react-dom@npm:18.3.0" dependencies: