diff --git a/package.json b/package.json index 506d286a6..424ab47ce 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@scaleway/eslint-config-react": "workspace:*", "@scaleway/tsconfig": "workspace:*", "@testing-library/jest-dom": "6.4.5", - "@testing-library/react": "15.0.7", + "@testing-library/react": "16.0.0", "@types/jest": "29.5.12", "@types/node": "20.14.2", "@types/react": "18.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 27d743556..5e4d1de1c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: 6.4.5 version: 6.4.5(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@20.14.2))(vitest@1.6.0(@types/node@20.14.2)(happy-dom@14.12.0)(jsdom@20.0.3)) '@testing-library/react': - specifier: 15.0.7 - version: 15.0.7(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 16.0.0 + version: 16.0.0(@testing-library/dom@10.0.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/jest': specifier: 29.5.12 version: 29.5.12 @@ -2164,16 +2164,20 @@ packages: vitest: optional: true - '@testing-library/react@15.0.7': - resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + '@testing-library/react@16.0.0': + resolution: {integrity: sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==} engines: {node: '>=18'} 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 peerDependenciesMeta: '@types/react': optional: true + '@types/react-dom': + optional: true '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} @@ -7808,7 +7812,7 @@ snapshots: '@testing-library/dom@10.0.0': dependencies: - '@babel/code-frame': 7.24.6 + '@babel/code-frame': 7.24.7 '@babel/runtime': 7.24.4 '@types/aria-query': 5.0.4 aria-query: 5.3.0 @@ -7833,15 +7837,15 @@ snapshots: jest: 29.7.0(@types/node@20.14.2) vitest: 1.6.0(@types/node@20.14.2)(happy-dom@14.12.0)(jsdom@20.0.3) - '@testing-library/react@15.0.7(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.0(@testing-library/dom@10.0.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.24.4 '@testing-library/dom': 10.0.0 - '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 '@tootallnate/once@2.0.0': optional: true