MCPcopy Index your code
hub / github.com/angular/angular / RootModule

Class RootModule

packages/core/test/acceptance/router_integration_spec.ts:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 class Level1BModule {}
37
38 @NgModule({
39 imports: [
40 RouterModule.forRoot([{path: 'root', redirectTo: ''}]),
41 Level1AModule,
42 Level1BModule,
43 ],
44 providers: [{provide: APP_BASE_HREF, useValue: '/'}],
45 })
46 class RootModule {}
47
48 TestBed.configureTestingModule({
49 imports: [RootModule],

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
forRootMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…