mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, `platformBrowserTesting` did not include any `platformBrowser` providers, causing an inconsistency with `platformBrowserDynamicTesting`. This update resolves the issue by restructuring platform inheritance to ensure proper provider inclusion: - `platformCore → platformBrowser → platformBrowserTesting` - `platformBrowser → platformBrowserDynamic → platformBrowserDynamicTesting` Now, `platformBrowserTesting` correctly inherits from `platformBrowser`, aligning with the expected behavior. PR Close #60480
856 B
856 B
API Report File for "@angular/platform-server_testing"
Do not edit this file. It is a report generated by API Extractor.
import * as i0 from '@angular/core';
import * as i1 from '@angular/platform-browser-dynamic/testing';
import { StaticProvider } from '@angular/core';
// @public
export const platformServerTesting: (extraProviders?: StaticProvider[]) => i0.PlatformRef;
// @public
export class ServerTestingModule {
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<ServerTestingModule, never>;
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<ServerTestingModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerTestingModule, never, never, [typeof i1.BrowserDynamicTestingModule]>;
}
// (No @packageDocumentation comment for this package)