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

Method forRoot

packages/core/test/test_bed_spec.ts:1189–1194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1187 static multi = false;
1188
1189 static forRoot() {
1190 return {
1191 ngModule: MyMod,
1192 providers: [{provide: TOKEN, multi: MyMod.multi, useValue: 'forRootValue'}],
1193 };
1194 }
1195 }
1196
1197 beforeEach(() => (MyMod.multi = true));

Callers 8

MyMod2Class · 0.45
test_bed_spec.tsFile · 0.45
test_module.tsFile · 0.45
test_module.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected