-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running unit tests in watch mode throws error #48427
Comments
It appears to be working correctly in my environment.
I think you need to specify a test file:
The following is how it works. You can see the watch mode starting at around 28 seconds. 3af6bfe660da649d73517a9279e46472.mp4 |
I'm not getting that error either. Maybe try reinstalling the dependencies to be sure? |
It's been a problem for a while for me. This isn't a new thing. I'm installed dependencies. I'm using |
I'm also using zsh so I doubt that. What's your Node.js version? And npm version? I'm not getting the error even when I installed the latest Node version though. |
Is this due to the Node version being lower than 14.17.0 as reported in create-react-app issue? |
I'll see if upgrading Node works. |
For a long while now I've tried to run unit tests with
watch
and it always fails.Example command:
Here's the error (with parts redacted):
I don't understand why this is happening. I wonder if folks experienced in test setup might be able to help. Particularly @kevin940726.
The text was updated successfully, but these errors were encountered: