MCPcopy
hub / github.com/angular/angular / provideHttpClientTesting

Function provideHttpClientTesting

packages/common/http/testing/src/provider.ts:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13import {HttpClientTestingBackend} from './backend';
14
15export function provideHttpClientTesting(): Provider[] {
16 return [
17 HttpClientTestingBackend,
18 {provide: HttpBackend, useExisting: HttpClientTestingBackend},
19 {provide: HttpTestingController, useExisting: HttpClientTestingBackend},
20 {provide: ɵREQUESTS_CONTRIBUTE_TO_STABILITY, useValue: false},
21 ];
22}

Callers 11

hydration_spec.tsFile · 0.90
resource.spec.tsFile · 0.90
provider_spec.tsFile · 0.90
client_spec.tsFile · 0.90
resource_spec.tsFile · 0.90
module.tsFile · 0.90
request_spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…