Skip to content

Commit

Permalink
Add extracted renderHook helper via react-hooks-testing-library
Browse files Browse the repository at this point in the history
The `renderHook` helper has been extracted from `react-testing-library`
(1) into the `react-hooks-testing-library` standalone package (2) for
better modularization. Therefore the package has been added as
development dependency in order to test Hook based implementations.

References:
  (1) https://github.com/kentcdodds/react-testing-library/releases/tag/v6.0.0
  (2) https://www.npmjs.com/package/react-hooks-testing-library

GH-137
  • Loading branch information
arcticicestudio committed Apr 25, 2019
1 parent eda9240 commit 3a10544
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -80,6 +80,7 @@
"lint-staged": "8.1.5",
"npm-run-all": "4.1.5",
"prettier": "1.17.0",
"react-hooks-testing-library": "0.5.0",
"react-testing-library": "6.1.2",
"rehype-slug": "2.0.2",
"remark-breaks": "1.0.2",
Expand Down

0 comments on commit 3a10544

Please sign in to comment.