-
-
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
Fix mocking for boolean values. #713
Conversation
@facebook-github-bot import |
Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/680807545393429/int_phab to review. |
At least indirectly it was: #634 |
Yep, fixing that one is next on my list :) |
Cool, looking forward to it! (Probably that is the only issue that block us from upgrading to Babel 6). |
Now that #599 is landed I can finally get to some of those silly bugs we have in open source Jest :) |
68c2162
mocking arrays is also broken, they come out empty with jest |
@mgenev that is what automocking does. A mock of an array is an empty array. You can fill it out with a manual mock or explicit mock. This is expected. If this is not what you want, I recommend disabling automocking. |
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. |
I cannot believe this was never an issue before? wtf.?