We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0cfccc commit 70e96f5Copy full SHA for 70e96f5
1 file changed
lib/sinon/behavior.js
@@ -160,14 +160,6 @@ var proto = {
160
"is not supported. Use \"stub.withArgs(...).onCall(...)\" " +
161
"to define sequential behavior for calls with certain arguments."
162
);
163
- },
164
-
165
- chain: function chain() {
166
- /**
167
- * "this" is stub when method is called directly on stub, e.g. stub.returns(123);
168
- * "this.stub" exists when method is called from onCall chaining, e.g. stub.onCall(0).returns(123)
169
- */
170
- return this.stub || this;
171
}
172
};
173
0 commit comments