ng-mock-e2e
ng-mock-e2e copied to clipboard
Feature Request: Implement angular-mocks.$httpBackend.expect(...)
I'd like to see the $httpBackend.expect(...) functionality implemented as described in the angular documentation: https://docs.angularjs.org/api/ngMock/service/$httpBackend
I may be able to help some with the development but I'm unfamiliar with working on browser/webDriver stuff.
Looks like the expect functionality is part of the ngMock and NOT the ngMockE2E (though the expect functions do show up under ngMockE2E most likely due to oversight).
I did start a new protractor plugin that lets you expect http calls: https://github.com/chrislondon/protractor-http-plugin
I use it nicely with this ng-mock-e2e module.