Add returnsThis method to SinonStub

This commit is contained in:
Tim Kindberg committed 2015-10-27 10:34:16 -04:00
1 parent 62eedc3121
commit 6e7d83167d
1 file changed
+1
+1
View File
@@ -92,6 +92,7 @@ declare module Sinon {
resetBehavior(): void;
returns(obj: any): SinonStub;
returnsArg(index: number): SinonStub;
returnsThis(): SinonStub;
throws(type?: string): SinonStub;
throws(obj: any): SinonStub;
callsArg(index: number): SinonStub;