ngMock.$httpBackend
Improve this Doc View Source $httpBackend
- 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 backend-less development please see 登录查看完整内容