gstribling
2020-01-17 09:59:05 -08:00
committed by Eli Barzilay
parent 716e495c26
commit 2e4fe798dc

View File

@@ -875,7 +875,7 @@ declare namespace jasmine {
/** By chaining the spy with and.callFake, all calls to the spy will delegate to the supplied function. */
callFake(fn: Function): Spy;
/** By chaining the spy with and.throwError, all calls to the spy will throw the specified value. */
throwError(msg: string): Spy;
throwError(msg: string|Error): Spy;
/** When a calling strategy is used for a spy, the original stubbing behavior can be returned at any time with and.stub. */
stub(): Spy;
}