HttpClientTestingModule
Configures HttpClientTestingBackend
as the HttpBackend
used by HttpClient
.
class HttpClientTestingModule {
}
说明
Inject HttpTestingController
to expect and flush requests in your tests.
提供商
提供商 |
---|
|
|
|
Configures HttpClientTestingBackend
as the HttpBackend
used by HttpClient
.
class HttpClientTestingModule {
}
Inject HttpTestingController
to expect and flush requests in your tests.
提供商 |
---|
|
|
|