-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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.
- Write documentation
- Write unit tests
- Write integration tests
Example Pseudo Code (for implementation)
const mock = Mock(...).create();
mock.expects("someMethod").toBeCalledWithoutArgs();
mock.verifyExpectations();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels