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
What:
Spies have .verify(...).toBeCalledWithoutArgs(). Mocks should use this logic in the .expects(...) method chaining.
.verify(...).toBeCalledWithoutArgs()
.expects(...)
Why:
Would be nice to create an expectation on a mock that a method was called with args.
Below is a list of tasks that must be completed before this issue can be closed.
const mock = Mock(...).create(); mock.expects("someMethod").toBeCalledWithoutArgs(); mock.verifyExpectations();
The text was updated successfully, but these errors were encountered:
i still need to document this
Sorry, something went wrong.
No branches or pull requests
Summary
What:
Spies have
.verify(...).toBeCalledWithoutArgs()
. Mocks should use this logic in the.expects(...)
method chaining.Why:
Would be nice to create an expectation on a mock that a method was called with args.
Acceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Example Pseudo Code (for implementation)
The text was updated successfully, but these errors were encountered: