| 32 | describe('FormValueControl', () => { |
| 33 | it(`synchronizes value from '[formField]' binding`, async () => { |
| 34 | @Component({template: ''}) |
| 35 | class CustomInput implements FormValueControl<string> { |
| 36 | readonly value = model.required<string>(); |
| 37 | } |
| 38 | |
| 39 | const environmentInjector = TestBed.inject(EnvironmentInjector); |
| 40 | const control = TestBed.runInInjectionContext(() => form(signal('initial value'))); |