| 105 | |
| 106 | it('should bind to properties whose names do not correspond to their attribute names', async () => { |
| 107 | @Component({ |
| 108 | template: '<label [for]="forValue()"></label>', |
| 109 | }) |
| 110 | class MyComp { |
| 111 | forValue = signal('some-input'); |
| 112 | } |
| 113 | |
| 114 | const fixture = TestBed.createComponent(MyComp); |
| 115 | const labelNode = fixture.debugElement.query(By.css('label')); |