service in module ngMock
Name Description $e
expect(method, url, [data], [headers], [keys]); Creates a new request expectation. Parameters
expectDELETE(url, [headers], [keys]); Creates a new request expectation for DELETE requests. For more info see expect()
$countWatchers(); Counts all the watchers of direct and indirect child scopes of the current scope. The watchers of the current
$exceptionHandlerProvider
cancel(promise); Cancels a task associated with the promise. Parameters
error.logs Array of messages logged using error().
expectJSONP(url, [keys]); Creates a new request expectation for JSONP requests. For more info see expect().
resetExpectations(); Resets all request expectations, but preserves all backend definitions. Typically, you would call resetExpectations
Page 3 of 6