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

Class MyModule

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

Source from the content-addressed store, hash-verified

602
603 it('should support SkipSelf', () => {
604 @NgModule({
605 providers: [
606 {provide: aTok, useValue: 'aValue'},
607 {provide: 'dep', useValue: 'depValue'},
608 ],
609 })
610 class MyModule {}
611
612 TestBed.overrideProvider(aTok, {
613 useFactory: (dep: any) => `mockA: ${dep}`,

Callers

nothing calls this directly

Calls 1

NgModuleInterface · 0.90

Tested by

no test coverage detected