verifyNoOutstandingRequest(); Verifies that there are no outstanding requests that need to be flushed. Typically, you would call
expectHEAD(url, [headers], [keys]); Creates a new request expectation for HEAD requests. For more info see expect().
whenDELETE(url, [headers], [keys]); Creates a new backend definition for DELETE requests. For more info see when().
mode(mode); Sets the logging mode. Parameters
whenGET(url, [headers], [keys]); Creates a new backend definition for GET requests. For more info see when().
whenPOST(url, [data], [headers], [keys]); Creates a new backend definition for POST requests. For more info see when()
verifyNoPendingTasks(); Verifies that there are no pending tasks that need to be flushed.
service in module ngMock
expectPOST(url, [data], [headers], [keys]); Creates a new request expectation for POST requests. For more info see expect()
closeAndFlush(); This method will close all pending animations (both
Page 1 of 6