-
-
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
Issue 8547: side effect import deps extracted #8670
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
eca3234
to
f343f81
Compare
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@jeysal - Whoops I didn't notice someone else was working on this, thanks for the pointer / link~ I've copied in the negative tests from #8548, and looks like I happened to do the single regex request here. If there's anything else I'm missing let me know :) @dy93 - I've added you as a co-author since I copied in some of your code. Though I wasn't sure what e-mail address to use, so I just put in a no-reply. If you want anything changed here, notice anything in this diff, etc let me know~ |
@astigefb Thanks! My email address is [email protected]. |
ed4edd8 -> red 965a24c -> green c4bbbba -> Refinement Co-authored-by: dy93 <[email protected]>
@dy93 np :) I've added your e-mail to the commit~ |
Codecov Report
@@ Coverage Diff @@
## master #8670 +/- ##
==========================================
- Coverage 63.46% 63.42% -0.05%
==========================================
Files 274 274
Lines 11385 11385
Branches 2771 2771
==========================================
- Hits 7226 7221 -5
- Misses 3546 3547 +1
- Partials 613 617 +4
Continue to review full report at Codecov.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Jest previously wouldn't find changes to side-effect only imports when watching files.
#8547
Test plan
yarn jest
, but there's a fair amount of noise is pre-existing failures. Also tried to useyarn jest --json --outputFile=[...]
before and after but a lot of noise there in comparing. Settled for similar looking summaries before / after that looks something like the below when run close together: