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
27 lines
947 B
Markdown
27 lines
947 B
Markdown
## API Report File for "@angular/platform-browser-dynamic_testing"
|
|
|
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
|
|
```ts
|
|
|
|
import * as i0 from '@angular/core';
|
|
import * as i1 from '@angular/platform-browser/testing';
|
|
import { PlatformRef } from '@angular/core';
|
|
import { StaticProvider } from '@angular/core';
|
|
|
|
// @public
|
|
export class BrowserDynamicTestingModule {
|
|
// (undocumented)
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrowserDynamicTestingModule, never>;
|
|
// (undocumented)
|
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrowserDynamicTestingModule>;
|
|
// (undocumented)
|
|
static ɵmod: i0.ɵɵNgModuleDeclaration<BrowserDynamicTestingModule, never, never, [typeof i1.BrowserTestingModule]>;
|
|
}
|
|
|
|
// @public (undocumented)
|
|
export const platformBrowserDynamicTesting: (extraProviders?: StaticProvider[]) => PlatformRef;
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
```
|