MCPcopy
hub / github.com/angular/angular / MyModule

Class MyModule

packages/platform-browser/test/testing_public_spec.ts:574–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572
573 it('should support SkipSelf', () => {
574 @NgModule({
575 providers: [
576 {provide: aTok, useValue: 'aValue'},
577 {provide: 'dep', useValue: 'depValue'},
578 ],
579 })
580 class MyModule {}
581
582 TestBed.overrideProvider(aTok, {
583 useFactory: (dep: any) => `mockA: ${dep}`,

Callers

nothing calls this directly

Calls 1

NgModuleInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…