Closed Beraliv closed 2 years ago
Replace @testing-library/react-hooks with @testing-library/react where renderHook is also available
@testing-library/react-hooks
@testing-library/react
@testing-library/react-hooks doesn't support React 18 – https://github.com/testing-library/react-hooks-testing-library/issues/654
The latest updates on your projects. Learn more about Vercel for Git ↗︎
What
Replace
@testing-library/react-hooks
with@testing-library/react
where renderHook is also availableWhy
@testing-library/react-hooks
doesn't support React 18 – https://github.com/testing-library/react-hooks-testing-library/issues/654