Added callsFake method on SinonStub

This commit is contained in:
Vilmos Ioo
2017-01-26 16:56:03 +00:00
committed by GitHub
parent 6f0270ef4c
commit a859959abc
+1
View File
@@ -109,6 +109,7 @@ declare namespace Sinon {
callsArgOnAsync(index: number, context: any): SinonStub;
callsArgWithAsync(index: number, ...args: any[]): SinonStub;
callsArgOnWithAsync(index: number, context: any, ...args: any[]): SinonStub;
callsFake(func: any): SinonStub;
onCall(n: number): SinonStub;
onFirstCall(): SinonStub;
onSecondCall(): SinonStub;