mode(mode); Sets the logging mode. Parameters
whenDELETE(url, [headers], [keys]); Creates a new backend definition for DELETE requests. For more info see when().
closeAndFlush(); This method will close all pending animations (both
whenPUT(url, [data], [headers], [keys]); Creates a new backend definition for PUT requests. For more info see when().
expectPUT(url, [data], [headers], [keys]); Creates a new request expectation for PUT requests. For more info see expect()
whenHEAD(url, [headers], [keys]); Creates a new backend definition for HEAD requests. For more info see when().
Installation First include angular-mocks.js in your HTML: <script
service in module ngMock
Name Description angular
Page 2 of 6