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

Class LazyLoadedModule

packages/router/test/integration/guards.spec.ts:1157–1169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155 class AdminComponent {}
1156
1157 @NgModule({
1158 declarations: [AdminComponent],
1159 imports: [
1160 RouterModule.forChild([
1161 {
1162 path: '',
1163 component: AdminComponent,
1164 canDeactivate: [recordingDeactivate],
1165 },
1166 ]),
1167 ],
1168 })
1169 class LazyLoadedModule {}
1170
1171 const fixture = await createRoot(router, RootCmp);
1172

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
forChildMethod · 0.45

Tested by

no test coverage detected