mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3fa7b2b136
This commit updates scripts within `packages/common` to relative imports as a prep work to the upcoming infra updates. PR Close #60623
28 lines
742 B
TypeScript
28 lines
742 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
import {HttpClientModule} from '../../index';
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {provideHttpClientTesting} from './provider';
|
|
|
|
/**
|
|
* Configures `HttpClientTestingBackend` as the `HttpBackend` used by `HttpClient`.
|
|
*
|
|
* Inject `HttpTestingController` to expect and flush requests in your tests.
|
|
*
|
|
* @publicApi
|
|
*
|
|
* @deprecated Add `provideHttpClientTesting()` to your providers instead.
|
|
*/
|
|
@NgModule({
|
|
imports: [HttpClientModule],
|
|
providers: [provideHttpClientTesting()],
|
|
})
|
|
export class HttpClientTestingModule {}
|