Skip to content

Immediately creating Stub replacement is deprecated #24

@jonathan-benn

Description

@jonathan-benn
var stub = sinon.stub(object, "method", func);
# This has been removed from v3.0.0. Instead you should use
# stub(obj, 'meth').callsFake(fn)

Do you want to remove this 3-argument version of sinon.stub?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions