-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hook unit-testing journey #423
Labels
help wanted
Extra attention is needed
Comments
juliencrn
added
bug
Something isn't working
and removed
bug
Something isn't working
labels
Jan 16, 2024
This was referenced Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
This GitHub issue serves as a central hub for the unit-testing journey of our React hook library. Our goal is to ensure robust and reliable testing for each individual hook in the library.
Objectives
Getting Started
packages/usehooks-ts/src/useExample/useExample.test.ts
.Hooks to Test
useBoolean
useClickAnyWhere
useCopyToClipboard
useCountdown
useCounter
useDarkMode
useDebounceCallback
useDebounceValue
useDocumentTitle
useEventCallback
useEventListener
useHover
useIntersectionObserver
useInterval
useIsClient
useIsMounted
useLocalStorage
useMap
useMediaQuery
useOnClickOutside
useReadLocalStorage
useResizeObserver
useScreen
useScript
useScrollLock
useSessionStorage
useStep
useTernaryDarkMode
useTimeout
useToggle
useUnmount
useWindowSize
Let's ensure our hooks are well-tested and reliable!
The text was updated successfully, but these errors were encountered: