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