whenRoute(method, url); Creates a new backend definition that compares only with the requested route.
Name Description angular
log.logs Array of messages logged using log().
object in module ngMock
assertEmpty(); Assert that all of the logging methods have no logged messages. If any messages are present, an exception is thrown.
flush([count]); Flushes all pending requests using the trained responses. Parameters
verifyNoOutstandingExpectation(); Verifies that all of the requests defined via the expect api were made. If any of the
flush([millis]); Runs interval tasks scheduled to be run in the next millis milliseconds.
Page 6 of 6