Closed skovhus closed 1 year ago
Fix regression introduced in https://github.com/marchaos/jest-mock-extended/pull/110
The test cases didn't cover the use case of using mockReturnValue.
mockReturnValue
I'm curious if there is a better way of implementing this fallbackMockImplementation – it turned out to be more complex that I wanted it to be.
fallbackMockImplementation
FYI @marchaos
I'll merge this for now, but will have a think.
3.0.3 published if you want to test that out.
Fix regression introduced in https://github.com/marchaos/jest-mock-extended/pull/110
The test cases didn't cover the use case of using
mockReturnValue
.I'm curious if there is a better way of implementing this
fallbackMockImplementation
– it turned out to be more complex that I wanted it to be.FYI @marchaos