| 3749 | const TOKEN = new InjectionToken<string>('TOKEN'); |
| 3750 | |
| 3751 | @Injectable() |
| 3752 | class Service { |
| 3753 | value: string; |
| 3754 | constructor() { |
| 3755 | this.value = inject(TOKEN); |
| 3756 | } |
| 3757 | } |
| 3758 | |
| 3759 | @Component({ |
| 3760 | template: '{{service.value}}', |
no test coverage detected