mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
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},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user