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

Asserting on all array items doesn’t work with chai-sinon assertions #21

Open
lo1tuma opened this issue Sep 14, 2015 · 0 comments
Open

Comments

@lo1tuma
Copy link

lo1tuma commented Sep 14, 2015

The following assertion

expect([spy1, spy2, spy3]).to.all.have.been.called;

doesn’t work.

I get the following assertion error:

TypeError: [ { [Function: proxy] },
{ [Function: proxy] },
{ [Function: proxy] }
] is not a spy or a call to a spy!
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

1 participant