ngMock.$httpBackend.verifyNoOutstandingRequest()

verifyNoOutstandingRequest();

Verifies that there are no outstanding requests that need to be flushed.

Typically, you would call this method following each test case that asserts requests using an "afterEach" clause.

afterEach($httpBackend.verifyNoOutstandingRequest);
doc_AngularJS
2016-03-29 16:12:02
Comments
Leave a Comment

Please login to continue.