You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-test-renderer version (if applicable): 17.0.2
node version: 16.2.0
npm (or yarn) version: 7.13.0
What you did:
Just upgraded to last version (7.0.0) and this issue just appear
What happened:
● Test suite failed to run
Cannot find module 'filter-console' from 'node_modules/@testing-library/react-hooks/lib/core/console.js'
Require stack:
node_modules/@testing-library/react-hooks/lib/core/console.js
node_modules/@testing-library/react-hooks/lib/index.js
[path]/__tests__/fileToTest.test.ts
at Resolver.resolveModule (../../node_modules/jest-resolve/build/index.js:311:11)
at Object.<anonymous> (node_modules/@testing-library/react-hooks/lib/core/console.js:11:45)
It's almost certainly related to #624, except that change removes the import for filter-console all together, so it shouldn't be trying to find it at all.
Can you try removing node_modules/@testing-library/react-hooks and reinstalling it?
react-hooks-testing-library
version: 7.0.0react
version: 17.0.2react-dom
version (if applicable): 17.0.2react-test-renderer
version (if applicable): 17.0.2node
version: 16.2.0npm
(oryarn
) version: 7.13.0What you did:
Just upgraded to last version (7.0.0) and this issue just appear
What happened:
Maybe it's related to this merge #624 no ?
Thanks
The text was updated successfully, but these errors were encountered: