-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Update: add regression tests for Git.spawn env issues #3759
Conversation
src/util/__mocks__/child.js
Outdated
|
||
const realChild = (require: any).requireActual('./child.js'); | ||
|
||
realChild.spawn = jest.fn(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you like braces and return statements so much? :P
Also jest complains jest-haste-map: duplicate manual mock found: jest-haste-map: duplicate manual mock found: |
I'll revert this one for today |
This reverts commit cd26fec.
Summary
Regression tests for #3742 and follow up to #3743.
Test plan
Tests shall pass.