| 28 | describe('parsing logic', () => { |
| 29 | it('should not change the model when user enters un-parsable input', () => { |
| 30 | @Component({ |
| 31 | imports: [FormField], |
| 32 | template: `<input type="number" [formField]="f" />`, |
| 33 | }) |
| 34 | class TestCmp { |
| 35 | readonly data = signal<number>(42); |
| 36 | readonly f = form(this.data); |
| 37 | } |
| 38 | |
| 39 | const fixture = act(() => TestBed.createComponent(TestCmp)); |
| 40 | const input = fixture.nativeElement.querySelector('input') as HTMLInputElement; |
nothing calls this directly
no test coverage detected
searching dependent graphs…