refactor(platform-browser): Remove zone provideres from BrowserTestingModule (#63872)

This removes the Zone providers from the `BrowserTestingModule`. These
already exist by default in all other entrypoints to Angular
environments (TestBed compiler, bootstrapModule, and createApplication).

PR Close #63872
This commit is contained in:
Andrew Scott
2025-09-17 09:08:40 -07:00
committed by Jessica Janiuk
parent 52b614ce55
commit 8ad26edb72
@@ -38,8 +38,6 @@ export const platformBrowserTesting: (extraProviders?: StaticProvider[]) => Plat
exports: [BrowserModule],
providers: [
{provide: APP_ID, useValue: 'a'},
provideZonelessChangeDetectionInternal(),
ZONELESS_BY_DEFAULT ? [] : internalProvideZoneChangeDetection({}),
ɵprovideFakePlatformNavigation(),
{provide: TestComponentRenderer, useClass: DOMTestComponentRenderer},
],