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

Implement withArgs #6779

Closed
deser opened this issue Jul 30, 2018 · 2 comments
Closed

Implement withArgs #6779

deser opened this issue Jul 30, 2018 · 2 comments

Comments

@deser
Copy link

deser commented Jul 30, 2018

Hi Guys, do you have plans to implement sinon's alternative to withArgs?
Currently you have to overcome that in a weird way: https://stackoverflow.com/questions/41697513/can-i-mock-functions-with-specific-arguments-using-jest

@rickhanlonii
Copy link
Member

Yes, we designed an API for this at the Jest Summit and need to implement - see #6180

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants