react-hooks-testing-library
Simple component wrapper for testing React hooks
Last updated a year ago by mpeyper .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-hooks-testing-library 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.6.0                                ...           latest (a year ago)

23 Versions

  • 0.6.0                                ...           a year ago
  • 0.5.1                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.1                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.8                                ...           a year ago
  • 0.3.7                                ...           a year ago
  • 0.3.6                                ...           a year ago
  • 0.3.5                                ...           a year ago
  • 0.3.4                                ...           a year ago
  • 0.3.3                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |