Skip to content

Incorrect count on toHaveBeenRequestedWith error message #25

@lsmacedo

Description

@lsmacedo

Consistently seeing an issue saying that the test failed because a stub was expected to be requested 5 times, but was requested 5 times instead. Seems to be related to getting the count again when building the error message: https://github.com/ike18t/wiremock_mapper_node/blob/master/lib/jest-matchers.ts#L120

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions