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:
@@ -148,7 +148,7 @@ describe("New HtmlReporter", function() {
|
||||
|
||||
reporter.jasmineStarted({});
|
||||
|
||||
timer.elapsed.and.callReturn(100);
|
||||
timer.elapsed.and.returnValue(100);
|
||||
reporter.jasmineDone();
|
||||
|
||||
var duration = container.querySelector(".banner .duration");
|
||||
|
||||
Reference in New Issue
Block a user