Merge pull request #14270 from vilmosioo/feature/sinon

Sinon: Added callsFake method for SinonStub
This commit is contained in:
Arthur Ozga
2017-02-08 13:10:47 -08:00
committed by GitHub
+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: (...args: any[]) => void): SinonStub;
onCall(n: number): SinonStub;
onFirstCall(): SinonStub;
onSecondCall(): SinonStub;