Skip to content

callCount appears to hang if the assertion fails #18

@createthis

Description

@createthis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions