We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
withArgs
The following code should work somehow:
var fake = fzkes() .returns(1) .withArgs({ a: 1 }).returns(2) fake() == 1 fake({ a: 1 }) == 2 fake({ a: 1, b: 2 }) == 2
Perhaps add a withFuzzyArgs() to avoid breaking changes.
withFuzzyArgs()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code should work somehow:
Perhaps add a
withFuzzyArgs()
to avoid breaking changes.The text was updated successfully, but these errors were encountered: