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
Cannot pass mock as parameter for toBeCalledWith #28
Comments
I have the same issue, is there any workaround? |
I also experienced this issue and used the following undesirable workaround (based on the code above):
|
Should be fixed. Let me know if it is not otherwise |
I assume this will be published as v1.0.9 - is there any eta on this? |
Yep, released as of now so give it a go.
…On Fri, 12 Jun 2020, 09:23 asnaseer-resilient, ***@***.***> wrote:
I assume this will be published as v1.0.9 - is there any eta on this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVBY6IMW65SGAUEEEWWYX3RWHQZTANCNFSM4MGFI5LA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I call toBeCalledWith passing another mock as parameter an error occurs.
Sample code:
expect(myMock.sampleMethod).toBeCalledWith(otherMock);
Error:
The text was updated successfully, but these errors were encountered: