-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Caching causing issues #521
Comments
Setting |
I have a same issue too. |
I was debugging awhile, haste_cache logic may be related to this issue.
Because I'm using the babel-jest plugin, it is in the doubt. |
Yeah I think the problem is that it stringifies the |
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. |
I discovered an issue that appears to be caused by caching. On the initial run of a test, it evaluates the test and determines that it fails (without errors), however on subsequent runs, I get:
Cannot find module './emptyFunction' from 'node_modules/jest-cli/.haste_cache/preprocess-cache/warning_764896bb1571a8dbaa5c10886672e1b1.js'
:I will demonstrate that in the following command line log. The first run is a subsequent run (not initial). I then reinstall
jest-cli
to remove caching and rerun the jest at which I get no errors. I then run it again and get the error.The text was updated successfully, but these errors were encountered: