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.

1
afterEach($httpBackend.verifyNoOutstandingRequest);
doc_AngularJS
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.