| 762 | // This test cannot be migrated to standalone because |
| 763 | // overrideProviders doesnt work. See #56528 |
| 764 | @Directive({ |
| 765 | selector: '[myDir]', |
| 766 | providers: [ |
| 767 | {provide: aTok, useValue: 'aValue'}, |
| 768 | {provide: 'dep', useValue: 'depValue'}, |
| 769 | ], |
| 770 | standalone: false, |
| 771 | }) |
| 772 | class MyDir {} |
| 773 | |
| 774 | @Component({ |
| 775 | template: '<div myDir></div>', |
nothing calls this directly
no test coverage detected