| 518 | const computation = (source: number) => source * 2; |
| 519 | |
| 520 | @Component({template: `{{ linked() }}`}) |
| 521 | class WithLinkedSignal { |
| 522 | source = signal(1, {debugName: 'source'}); |
| 523 | linked = linkedSignal({ |
| 524 | source: this.source, |
| 525 | computation, |
| 526 | debugName: 'linked', |
| 527 | }); |
| 528 | } |
| 529 | const fixture = TestBed.createComponent(WithLinkedSignal); |
| 530 | |
| 531 | await fixture.whenStable(); |
nothing calls this directly
no test coverage detected