UNPKG

@angular/platform-browser-dynamic

Version:

Angular - library for using Angular in a web browser with JIT compilation

50 lines (42 loc) 1.47 kB
/** * @license Angular v16.2.9 * (c) 2010-2022 Google LLC. https://angular.io/ * License: MIT */ import * as i0 from '@angular/core'; import * as i1 from '@angular/platform-browser/testing'; import { PlatformRef } from '@angular/core'; import { StaticProvider } from '@angular/core'; import { TestComponentRenderer } from '@angular/core/testing'; /** * NgModule for testing. * * @publicApi */ export declare class BrowserDynamicTestingModule { static ɵfac: i0.ɵɵFactoryDeclaration<BrowserDynamicTestingModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<BrowserDynamicTestingModule, never, never, [typeof i1.BrowserTestingModule]>; static ɵinj: i0.ɵɵInjectorDeclaration<BrowserDynamicTestingModule>; } /** * @publicApi */ export declare const platformBrowserDynamicTesting: (extraProviders?: StaticProvider[] | undefined) => PlatformRef; /** * A DOM based implementation of the TestComponentRenderer. */ export declare class ɵDOMTestComponentRenderer extends TestComponentRenderer { private _doc; constructor(_doc: any); insertRootElement(rootElId: string): void; removeAllRootElements(): void; static ɵfac: i0.ɵɵFactoryDeclarationDOMTestComponentRenderer, never>; static ɵprov: i0.ɵɵInjectableDeclarationDOMTestComponentRenderer>; } /** * Platform for dynamic tests * * @publicApi */ export declare const ɵplatformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef; export { }