Make test-utils not depend on testing-library directly

This should help transition to React 18

Signed-off-by: Axel Hecht <axel@pike.org>
This commit is contained in:
Axel Hecht
2023-08-24 12:21:09 +02:00
parent 35f5c95a35
commit b551349b40
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -55,21 +55,19 @@
"@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",
"zen-observable": "^0.10.0"
},
"peerDependencies": {
"@testing-library/react": "^12.1.3",
"react": "^16.13.1 || ^17.0.0",
"react-dom": "^16.13.1 || ^17.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": [
+1 -1
View File
@@ -10049,7 +10049,6 @@ __metadata:
"@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
@@ -10058,6 +10057,7 @@ __metadata:
msw: ^1.0.0
zen-observable: ^0.10.0
peerDependencies:
"@testing-library/react": ^12.1.3
react: ^16.13.1 || ^17.0.0
react-dom: ^16.13.1 || ^17.0.0
react-router-dom: 6.0.0-beta.0 || ^6.3.0