-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
2
-
None
-
None
-
OCP Console - Sprint 283
We have our own testHook from @console/shared/src/test-utils/hooks-utils which is used to test just a hook. This was originally written with enzyme, and was migrated to RTL.
React testing library has renderHook which does the same thing, we should use it
AC:
- Delete packages/console-shared/src/test-utils/hooks-utils.tsx
- Migrate custom testHook to RTL renderHook