| 886 | |
| 887 | it('should name the signal when writing within computed', async () => { |
| 888 | @Component({ |
| 889 | selector: 'write-in-computed', |
| 890 | template: '{{comp()}}', |
| 891 | }) |
| 892 | class WriteInComputed { |
| 893 | sig = signal(0, {debugName: 'count'}); |
| 894 | comp = computed(() => this.sig.set(1)); |
| 895 | } |
| 896 | |
| 897 | const fixture = TestBed.createComponent(WriteInComputed); |
| 898 |