Add @testing-library/react-hooks devDep

Fix tests for Components that use hooks

Remove ReloadButton component

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
This commit is contained in:
Erik Engervall
2021-04-20 13:23:36 +02:00
parent fef2edfc22
commit 546005f732
17 changed files with 313 additions and 324 deletions
+3 -2
View File
@@ -39,12 +39,13 @@
"@backstage/dev-utils": "^0.1.13",
"@backstage/test-utils": "^0.1.10",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react-hooks": "^5.1.1",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.0.7",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"msw": "^0.21.2",
"cross-fetch": "^3.0.6"
"cross-fetch": "^3.0.6",
"msw": "^0.21.2"
},
"files": [
"dist"