diff --git a/packages/cra-template-typescript/template.json b/packages/cra-template-typescript/template.json index db2d4761047..5990787b5a4 100644 --- a/packages/cra-template-typescript/template.json +++ b/packages/cra-template-typescript/template.json @@ -2,12 +2,13 @@ "package": { "dependencies": { "@testing-library/jest-dom": "^5.14.1", - "@testing-library/react": "^13.0.0", + "@testing-library/react": "16.1.0", + "@testing-library/dom": "^10.4.0", "@testing-library/user-event": "^13.2.1", "@types/jest": "^27.0.1", "@types/node": "^16.7.13", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "typescript": "^4.4.2", "web-vitals": "^2.1.0" }, diff --git a/packages/cra-template/template.json b/packages/cra-template/template.json index 7610e572c16..9868f4cd735 100644 --- a/packages/cra-template/template.json +++ b/packages/cra-template/template.json @@ -2,7 +2,8 @@ "package": { "dependencies": { "@testing-library/jest-dom": "^5.14.1", - "@testing-library/react": "^13.0.0", + "@testing-library/react": "^16.1.0", + "@testing-library/dom": "^10.4.0", "@testing-library/user-event": "^13.2.1", "web-vitals": "^2.1.0" },