ngMock.$httpBackend

Improve this Doc View Source $httpBackend

  1. service in module ngMock

Fake HTTP backend implementation suitable for unit testing applications that use the $http service.

Note: For fake HTTP backend implementation suitable for end-to-end testing or backen