Skip to content

Immediately creating Stub replacement is deprecated #24

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions