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
Slow (more than 2 min) tests #857
Comments
Hello! This is most definitely not normal and I'm unable to reproduce this locally. If this happens only on the first run, it most likely means that your babel configuration is messed up and that babel is doing something that it should not. On the first run, babel transforms all files under test. Your To prove that this is indeed a babel problem, I recommend doing I'm closing this because it's unlikely that it is a Jest issue, but happy to reopen if it turns out to be related to Jest. |
Thank you. I think you are right! After i deleted |
Just for the history: the reason was in the slow hard drive. P.S. Using OS X, NOT SSD. |
Thank you for the update! That's definitely reassuring :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello!
I'm facing problem with super slow test running in jest.
I have noticed, that one simple test can take about 2 min.
Next time it will work faster, but if I change code in the test file, I have to wait again about 2 min.
I tried
jest-cli
version 0.9 and 0.10: no difference, both slow.Also when I run test with
--watch
, it stuck.My environment
node: v4.4.0
npm: 2.14.20
package.json
Example of test
Result:
Do you have any ideas why it can happen?
The text was updated successfully, but these errors were encountered: