From 822e062ff0b3c27d1207f26e1ee6df30159c9481 Mon Sep 17 00:00:00 2001 From: Rajhans Jadhao Date: Wed, 11 Dec 2024 23:57:51 +0530 Subject: [PATCH] update rtl version to 16.1.0 and updated types/react to 19 --- packages/cra-template-typescript/template.json | 7 ++++--- packages/cra-template/template.json | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) 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" },