react-hooks-testing-library
Version:
Simple component wrapper for testing React hooks
42 lines (33 loc) • 1.08 kB
Markdown
<div align="center">
<h1>react-hooks-testing-library</h1>
<a href="https://www.emojione.com/emoji/1f40f">
<img
height="80"
width="80"
alt="ram"
src="https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/other/ram.png"
</a>
<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>
</div>
<hr />
# 🚨 **Deprecated - This package has moved!** 🚨
`react-hooks-testing-library` has moved to [`@testing-library/react-hooks!`](https://www.npmjs.com/package/@testing-library/react-hooks)
> To upgrade, run:
> ```sh
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:
> ```diff
- 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](https://github.com/testing-library/react-hooks-testing-library/issues/99).
# LICENSE
MIT