Merge pull request #15239 from ersimont/patch-7

Add `SinonStub#callThrough`
This commit is contained in:
Paul van Brenk
2017-03-20 14:30:25 -07:00
committed by GitHub
+1
View File
@@ -102,6 +102,7 @@ declare namespace Sinon {
throws(type?: string): SinonStub;
throws(obj: any): SinonStub;
callsArg(index: number): SinonStub;
callThrough(): SinonStub;
callsArgOn(index: number, context: any): SinonStub;
callsArgWith(index: number, ...args: any[]): SinonStub;
callsArgOnWith(index: number, context: any, ...args: any[]): SinonStub;