remove usages of @testing-library/react-hooks

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-13 00:39:17 +02:00
parent e9318414a0
commit d60fbcb553
94 changed files with 83 additions and 113 deletions
+1 -2
View File
@@ -43,8 +43,7 @@
"devDependencies": {
"@backstage/cli": "workspace:^",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^13.4.0",
"@testing-library/react-hooks": "^8.0.0"
"@testing-library/react": "^13.4.0"
},
"files": [
"dist"
@@ -15,7 +15,7 @@
*/
import React, { useContext } from 'react';
import { renderHook } from '@testing-library/react-hooks';
import { renderHook } from '@testing-library/react';
import {
createVersionedContext,
createVersionedContextForTesting,