@angular/platform-browser
Version:
Angular - library for using Angular in a web browser
30 lines (26 loc) • 812 B
TypeScript
/**
* @license Angular v20.3.10
* (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT
*/
import * as i0 from '@angular/core';
import { StaticProvider, PlatformRef } from '@angular/core';
import { BrowserModule } from '../browser.d.js';
import '@angular/common';
/**
* Platform for testing
*
* @publicApi
*/
declare const platformBrowserTesting: (extraProviders?: StaticProvider[]) => PlatformRef;
/**
* NgModule for testing.
*
* @publicApi
*/
declare class BrowserTestingModule {
static ɵfac: i0.ɵɵFactoryDeclaration<BrowserTestingModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<BrowserTestingModule, never, never, [typeof BrowserModule]>;
static ɵinj: i0.ɵɵInjectorDeclaration<BrowserTestingModule>;
}
export { BrowserTestingModule, platformBrowserTesting };