Merge pull request #19569 from Pike/test-utils-react18

Make test-utils not depend on testing-library directly
This commit is contained in:
Patrik Oldsberg
2023-09-19 10:47:11 +02:00
committed by GitHub
6 changed files with 33 additions and 16 deletions
+4 -6
View File
@@ -55,22 +55,20 @@
"@backstage/types": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@testing-library/dom": "^8.0.0",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"i18next": "^22.4.15",
"zen-observable": "^0.10.0"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0",
"react-dom": "^16.13.1 || ^17.0.0",
"@testing-library/react": "^12.1.3 || ^13.0.0 || ^14.0.0",
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@testing-library/jest-dom": "^5.10.1",
"msw": "^1.0.0"
},
"files": [