MCPcopy Create free account
hub / github.com/angular/angular / TestModuleA

Class TestModuleA

packages/platform-browser/test/browser/bootstrap_spec.ts:877–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875
876 it('should be triggered for all bootstrapped components in case change happens in one of them', async () => {
877 @NgModule({
878 imports: [BrowserModule],
879 declarations: [CompA, CompB],
880 bootstrap: [CompA, CompB],
881 providers: [provideZoneChangeDetection()],
882 })
883 class TestModuleA {}
884 await platformBrowser().bootstrapModule(TestModuleA);
885 log.length = 0;
886 el.querySelectorAll<HTMLElement>('#button-a')[0].click();

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90

Tested by

no test coverage detected