chore(api): clean up compiler/testing api (#9520)
Do not export MockXHR, which is a private helper.
This commit is contained in:
8
tools/public_api_guard/compiler/testing.d.ts
vendored
8
tools/public_api_guard/compiler/testing.d.ts
vendored
@ -51,14 +51,6 @@ export declare class MockViewResolver extends ViewResolver {
|
||||
resolve(component: Type): ViewMetadata;
|
||||
}
|
||||
|
||||
export declare class MockXHR extends XHR {
|
||||
get(url: string): Promise<string>;
|
||||
expect(url: string, response: string): void;
|
||||
when(url: string, response: string): void;
|
||||
flush(): void;
|
||||
verifyNoOutstandingExpectations(): void;
|
||||
}
|
||||
|
||||
export declare class TestComponentBuilder {
|
||||
constructor(_injector: Injector);
|
||||
overrideTemplate(componentType: Type, template: string): TestComponentBuilder;
|
||||
|
Reference in New Issue
Block a user