Skip to content

Name differences #1509

@henit

Description

@henit

It might be logical reasons that I don't know about, but I wonder about some of the name differences between sinon-methods:

spy.notCalledWith
assert.neverCalledWith

Should they have the same name?

stub.callsFake
stub.callsArg
stub.callsArgWith
stub.callThrough
stub.callArg
stub.callArgWith

I often end up checking the docs where there is 'calls*' and where there is 'call*'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions