angular/goldens/public-api/platform-browser-dynamic/testing/index.api.md
Alan Agius 8e8ccc7927 fix(platform-browser): ensure platformBrowserTesting includes platformBrowser providers (#60480)
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
2025-03-20 12:33:13 -07:00

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)
```