MCPcopy Create free account
hub / github.com/IgorMinar/directives-workshop / createHttpBackendMock

Function createHttpBackendMock

lib/angular-mocks.js:1123–1572  ·  view source on GitHub ↗

* General factory function for $httpBackend mock. * Returns instance for unit testing (when no arguments specified): * - passing through is disabled * - auto flushing is disabled * * Returns instance for e2e testing (when `$delegate` and `$browser` specified): * - passing through (delega

($rootScope, $delegate, $browser)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

createResponseFunction · 0.85
createShortMethodsFunction · 0.70

Tested by

no test coverage detected