-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Unit tests are not executed #2889
Comments
FYI Maybe it's related to jestjs/jest#4033 |
Hello. I can confirm this issue on my machine as well. Thanks to the note's temporary workaround (using bash), I'm able to execute my tests again. My machine is running:
To make sure the issue isn't caused by my project's setup, I created a clean create-react-app project in
The "1 match" will have to be the default When run using bash on Windows, the output is:
|
Hi,
|
Thank you very much @zehbauer, removing watchman from my path env-var worked! |
I'll close as that doesn't appear to be an issue on our side. |
I can also reproduce this with a computer that has Seems like we should at least figure out what’s causing this. |
Seems like this is fixed on Jest 22 so I'll close. We'll update to it soon. As a temporary workaround you can run your tests with |
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
I am using latest
yarn 0.27.5
andnpm 5.2.0
on Windows.Environment
Steps to Reproduce
Run
yarn test
ornpm test
(is running scriptreact-scripts test --env=jsdom
)It says: "Determining test suites to run..." -> "Press a to run all tests."
After hitting
a
You see:
No tests were executed but there are tests inside in PROJECT/src/ eg. default App.test.js - these tests are being executed when saving changes while in jest watch mode.
Expected Behavior
All tests inside
src/**/*.test.js
should be executedNote (Temporary workaround)
Using Windows 10 bash (ubuntu) it's running fine, so looks like it affects only Windows (tested on both - Win 7 & 10)
The text was updated successfully, but these errors were encountered: