Hooks Testing Utilities
"π Simple and complete React hooks testing utilities that encourage good testing practices.
The React Hooks Testing Library allows you to create a simple test harness for React hooks that handles running them within the body of a function component, as well as providing various useful utility functions for updating the inputs and retrieving the outputs of your amazing custom hook.
Using this library, you do not have to concern yourself with how to construct, render or interact with the react component in order to test your hook. You can just use the hook directly and assert the results."