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

callCount appears to hang if the assertion fails #18

Open
createthis opened this issue Jun 1, 2020 · 0 comments
Open

callCount appears to hang if the assertion fails #18

createthis opened this issue Jun 1, 2020 · 0 comments

Comments

@createthis
Copy link

In my code, this works and gives the expected result in all circumstances:

stub.callCount.should.eql(10);

However, this only works if the assertion passes:

stub.should.have.callCount(10);

If the assertion fails, the test suite hangs.

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