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

How to spy on asynchronous calls #64

Closed
pronebird opened this issue Feb 14, 2017 · 3 comments
Closed

How to spy on asynchronous calls #64

pronebird opened this issue Feb 14, 2017 · 3 comments

Comments

@pronebird
Copy link

I have asynchronous mocha test with spied function being called many times with different parameters.

I'd like to verify the input on first and second calls, then complete the test case. How do you do that with chai-spies?

@cdgn-coding
Copy link

We are trying to cover this feature on PR #75 .

@keithamus
Copy link
Member

Hey @pronebird thanks for the issue.

As @cnexans mentions, #75 and #59 cover this. I'll close this one, but thanks for filing this issue and please don't hesitate to open any new ones if you find anything new!

@pronebird
Copy link
Author

@cnexans @keithamus thank you for your efforts!

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

No branches or pull requests

3 participants