Rename a spy's callReturn and callThrow
.and.callReturn is now .and.returnValue .and.callThrow is now .and.throwError [finishes #56281634]
This commit is contained in:
@@ -196,7 +196,7 @@ describe("JsApiReporter", function() {
|
||||
timer: timerSpy
|
||||
});
|
||||
|
||||
timerSpy.elapsed.and.callReturn(1000);
|
||||
timerSpy.elapsed.and.returnValue(1000);
|
||||
reporter.jasmineDone();
|
||||
expect(reporter.executionTime()).toEqual(1000);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user