-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Here are some weird Stub API functions that are missing:
sinon.addBehavior(name, fn);
# Add a custom behavior. The name will be available as a function on stubs,
# and the chaining mechanism will be set up for you
stub.get(getterFn)
# Replaces a new getter for this stub.
stub.set(setterFn)
# Defines a new setter for this stub.
stub.value(newVal)
# Defines a new value for this stub.Are these needed?
Metadata
Metadata
Assignees
Labels
No labels