frontend-plugin-api: remove usage of @testing-library/react-hooks

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-17 14:27:06 +02:00
parent bb981cc0ce
commit 3e1d63ba3f
3 changed files with 2 additions and 4 deletions
@@ -28,7 +28,6 @@
"@backstage/test-utils": "workspace:^",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"history": "^5.3.0"
},
"files": [
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { renderHook } from '@testing-library/react-hooks';
import { renderHook } from '@testing-library/react';
import React from 'react';
import { MemoryRouter, Router } from 'react-router-dom';
import { createVersionedContextForTesting } from '@backstage/version-bridge';
+1 -2
View File
@@ -4235,7 +4235,6 @@ __metadata:
"@backstage/version-bridge": "workspace:^"
"@testing-library/jest-dom": ^6.0.0
"@testing-library/react": ^14.0.0
"@testing-library/react-hooks": ^8.0.1
"@types/react": ^16.13.1 || ^17.0.0
history: ^5.3.0
lodash: ^4.17.21
@@ -16730,7 +16729,7 @@ __metadata:
languageName: node
linkType: hard
"@testing-library/react-hooks@npm:^8.0.0, @testing-library/react-hooks@npm:^8.0.1":
"@testing-library/react-hooks@npm:^8.0.0":
version: 8.0.1
resolution: "@testing-library/react-hooks@npm:8.0.1"
dependencies: