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

Add `expect.anything()` mock function example #13

Merged
merged 1 commit into from Jun 24, 2020

Conversation

@bjoluc
Copy link
Contributor

@bjoluc bjoluc commented Jun 24, 2020

I found this snippet quite helpful when I wanted to check all but one parameter without taking the hassle of manually inspecting mock.calls. What do you think?

Copy link
Owner

@sapegin sapegin left a comment

Thanks! One minor suggestion ;-)

Readme.md Outdated Show resolved Hide resolved
Co-authored-by: Artem Sapegin <artem@sapegin.ru>
@sapegin sapegin merged commit 0da26ad into sapegin:master Jun 24, 2020
@bjoluc bjoluc deleted the bjoluc:patch-1 branch Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.