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
Repo demonstrating the problem. It is a a freshly bootstrapped react app. I then installed react-testing-library. The same problem shows if I install enzyme instead.
Yes, tried deleting node_module and package-lock.json.
npm version: 6.8.0-next.2
Have tried multiple different versions however.
Which terms did you search for in User Guide?
I read the Test Utilities page, but the both the both suggestions for enzyme and react-testing-library failed for me. I've tried installing the package individually, but then something else is missing.
Activity
petetnt commentedon Feb 10, 2019
Hi @tmclayson,
from a quick CodeSandbox test everything seemed to work normally: https://codesandbox.io/s/lxpwjno9r7
Sounds like a intermittent issue with
npm. Have you tried cleaning the cache?tmclayson commentedon Feb 21, 2019
Using yarn to manage everything instead of npm solved the issue for me.