
committed by
Alex Rickabaugh

parent
42c331bbf2
commit
0918adf39d
@ -13,7 +13,7 @@ import {TestRequest} from './request';
|
||||
/**
|
||||
* Defines a matcher for requests based on URL, method, or both.
|
||||
*
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export interface RequestMatch {
|
||||
method?: string;
|
||||
@ -24,7 +24,7 @@ export interface RequestMatch {
|
||||
* Controller to be injected into tests, that allows for mocking and flushing
|
||||
* of requests.
|
||||
*
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export abstract class HttpTestingController {
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@ import {HttpClientTestingBackend} from './backend';
|
||||
*
|
||||
* Inject `HttpTestingController` to expect and flush requests in your tests.
|
||||
*
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
@ -15,7 +15,7 @@ import {Observer} from 'rxjs';
|
||||
* This interface allows access to the underlying `HttpRequest`, and allows
|
||||
* responding with `HttpEvent`s or `HttpErrorResponse`s.
|
||||
*
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export class TestRequest {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user