diff --git a/apps/admin-ui/package.json b/apps/admin-ui/package.json index 99098009ab..0b172ac104 100644 --- a/apps/admin-ui/package.json +++ b/apps/admin-ui/package.json @@ -95,7 +95,7 @@ "@4tw/cypress-drag-drop": "^2.2.4", "@testing-library/cypress": "^10.0.2", "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^15.0.5", + "@testing-library/react": "^16.0.1", "@types/dagre": "^0.7.48", "@types/file-saver": "^2.0.5", "@types/flat": "^5.0.2", diff --git a/package-lock.json b/package-lock.json index 23faa47e3b..02cb42c4a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,7 +90,7 @@ "@4tw/cypress-drag-drop": "^2.2.4", "@testing-library/cypress": "^10.0.2", "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^15.0.5", + "@testing-library/react": "^16.0.1", "@types/dagre": "^0.7.48", "@types/file-saver": "^2.0.5", "@types/flat": "^5.0.2", @@ -2444,21 +2444,30 @@ } }, "node_modules/@testing-library/react": { - "version": "15.0.5", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-15.0.5.tgz", - "integrity": "sha512-ttodVWYA2i2w4hRa6krKrmS1vKxAEkwDz34y+CwbcrbZUxFzUYN3a5xZyFKo+K6LBseCRCUkwcjATpaNn/UsIA==", + "version": "16.0.1", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.1.tgz", + "integrity": "sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==", "dev": true, "dependencies": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^10.0.0", - "@types/react-dom": "^18.0.0" + "@babel/runtime": "^7.12.5" }, "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 + } } }, "node_modules/@tsconfig/node10": {