Skip to content
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

Correct pass fallbackMockImplementation #111

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

skovhus
Copy link
Contributor

@skovhus skovhus commented Feb 27, 2023

Fix regression introduced in #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

@marchaos marchaos merged commit 92c0a0a into marchaos:master Feb 27, 2023
@marchaos
Copy link
Owner

I'll merge this for now, but will have a think.

@marchaos
Copy link
Owner

3.0.3 published if you want to test that out.

Beraliv pushed a commit to Beraliv/jest-mock-extended that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants