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

refactor: Favor use of spies vs. done callback #269

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

jrassa
Copy link
Member

@jrassa jrassa commented Oct 2, 2023

Replaced uses of done callback with async tests and sinon spies for verifing results. Solves with the done callback where assertions would prevent done from being called and the test would report a timeout error vs the proper test failure.

Replaced uses of done callback with async tests and sinon spies for verifing results.  Solves with the done callback where assertions would prevent done from being called and the test would report a timeout error vs the proper test failure.
@jrassa jrassa merged commit e48daf4 into develop Oct 13, 2023
4 checks passed
@jrassa jrassa deleted the test-spies branch October 13, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant