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

Remove expects from mocked implementations #60

Open
elf-pavlik opened this issue Jun 27, 2022 · 0 comments
Open

Remove expects from mocked implementations #60

elf-pavlik opened this issue Jun 27, 2022 · 0 comments
Assignees
Labels
conventions General conventions to assist development

Comments

@elf-pavlik
Copy link
Collaborator

Instead use expectToBeCalledWith.

When expect in mocked implementation fails it throws an error similar if the real implementation has thrown error.

@elf-pavlik elf-pavlik self-assigned this Jun 27, 2022
@elf-pavlik elf-pavlik transferred this issue from janeirodigital/sai-impl-service Jun 6, 2023
@elf-pavlik elf-pavlik added the conventions General conventions to assist development label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conventions General conventions to assist development
Projects
None yet
Development

No branches or pull requests

1 participant