| 4192 | const TOKEN = new InjectionToken<string>('TOKEN'); |
| 4193 | |
| 4194 | @Injectable() |
| 4195 | class Service { |
| 4196 | value: string; |
| 4197 | constructor() { |
| 4198 | this.value = inject(TOKEN); |
| 4199 | } |
| 4200 | } |
| 4201 | |
| 4202 | @Component({ |
| 4203 | selector: 'test-cmp', |
no test coverage detected