cancel(promise); Cancels a task associated with the promise. Parameters
expectDELETE(url, [headers], [keys]); Creates a new request expectation for DELETE requests. For more info see expect()
whenJSONP(url, [keys]); Creates a new backend definition for JSONP requests. For more info see when().
info.logs Array of messages logged using info().
debug.logs Array of messages logged using debug().
when(method, url, [data], [headers], [keys]); Creates a new backend definition. Parameters
expectGET(url, [headers], [keys]); Creates a new request expectation for GET requests. For more info see expect().
reset(); Reset all of the logging arrays to empty.
verifyNoOutstandingExpectation(); Verifies that all of the requests defined via the expect api were made. If any of the
warn.logs Array of messages logged using warn().
Page 3 of 4