-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Stored snapshots can't be found on CI only #7094
Comments
The issue could be identified. The test pattern matched the tests inside the production build and in the test directory π |
Is this something jest could have detected and warned about? |
I don't think so because the directory structure isn't fixed. We could print a warning when someone is trying to run snapshot tests in a directory like |
Any news as a correction? |
@joaoeudes7 Look at my last comment it was my fault. |
To further clarify for anyone else that stumbles on this thread, here's the situation that causes this:
To debug this, double-check your Hope this helps! |
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. |
π Bug Report
Snapshots can't be found on CI even when snapshots are checked in the source control.
To Reproduce
https://travis-ci.org/Prettyhtml/prettyhtml/jobs/436540742
Jest version: 23.6.0
Expected behavior
Tests should work as locally because all my snapshots are checked in the source control.
The text was updated successfully, but these errors were encountered: