@testing-library/react-hooks@8.0.1
// Simple and complete React hooks testing utilities that encourage good testing practices.
$ npm install @testing-library/react-hooks
downloads/wk
2,723,743
license
MIT
version
8.0.1
published
Jun 18, 2022
What is @testing-library/react-hooks?
@testing-library/react-hooks provides utilities for testing React hooks in isolation, allowing you to test custom hooks' behavior without rendering a full component. Developers use this package to write unit and integration tests for hooks with a straightforward API that follows testing best practices. It's useful when you need to verify that your hooks manage state, effects, and side effects correctly before integrating them into components.
Links
Keywords
Dependencies (2)
Maintainers
testing-library-bot, kentcdodds, timdeschryver, patrickhulce, dfcook, gpx, mpeyper, mihar-22, pago, cmckinstry, thymikee, brrianalexis, jdecroock, mdjastrzebski, eps1lon, phryneas, matanbobi