Closed 3y3 closed 2 years ago
Looks like problem starts from this commit https://github.com/timkindberg/jest-when/commit/7061df463e7798861cd56fb923bea7528ee2d5e9
This is not equivalent replacement. returnValue - doesn't expect context, but mockImplementation does
returnValue
@timkindberg can we merge this and publish new version?
v3.5.2
Thank you for the contribution @3y3 !
Looks like problem starts from this commit https://github.com/timkindberg/jest-when/commit/7061df463e7798861cd56fb923bea7528ee2d5e9
This is not equivalent replacement.
returnValue
- doesn't expect context, but mockImplementation does