| 118 | |
| 119 | it('synchronizes value', () => { |
| 120 | @Component({ |
| 121 | imports: [CustomControl, FormField], |
| 122 | template: `<custom-control [formField]="f" />`, |
| 123 | }) |
| 124 | class TestCmp { |
| 125 | readonly f = form(signal('test')); |
| 126 | readonly control = viewChild.required(CustomControl); |
| 127 | } |
| 128 | |
| 129 | const fixture = act(() => TestBed.createComponent(TestCmp)); |
| 130 | const control = fixture.componentInstance.control; |
nothing calls this directly
no test coverage detected