-
-
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
setupTests.js entry missing after eject #643
Comments
Which previous version? Can you clarify which versions you refer to? |
I think in v0.4.0 it was working fine Dan. |
I checked, and it’s not a bug. If (If you can reproduce it not being included when it exists please give exact instructions to reproduce, i.e. maybe you use symlinks or your setup is unusual in some other way? If you could put some logs in We can’t include it unconditionally because Jest will (rightly) throw an error about missing file. I made a small tweak: now is uses a relative path instead of an absolute one after ejecting (d279aa0). But I believe current behavior is correct. |
Could I suggest this being added to the documentation somewhere? Happy to do it if you tell me where. I've just spent the last couple of days bashing my head against the desk wonder why setupTests wasn't running in my ejected app... |
This is how the
setupFiles
section looks after ejecting:In previous version:
The text was updated successfully, but these errors were encountered: