Merge pull request #6475 from timkindberg/patch-1

Add returnsThis method to SinonStub
This commit is contained in:
Masahiro Wakame
2015-11-02 21:33:24 +09:00
+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;