🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-hooks-testing-library

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hooks-testing-library

Simple component wrapper for testing React hooks

0.6.0
latest
Source
npm
Version published
Weekly downloads
13K
-7.33%
Maintainers
1
Weekly downloads
 
Created
Source

react-hooks-testing-library

ram

Simple and complete React hooks testing utilities that encourage good testing practices.

🚨 Deprecated - This package has moved! 🚨

react-hooks-testing-library has moved to @testing-library/react-hooks!

To upgrade, run:

npm uninstall react-hooks-testing-library
npm install --save-dev @testing-library/react-hooks

Remember to also update your import lines to the new package too:

- import { renderHook, act } from 'react-hooks-testing-library'
+ import { renderHook, act } from '@testing-library/react-hooks'

More details on the move can be found here.

LICENSE

MIT

FAQs

Package last updated on 20 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts