| 320 | |
| 321 | it('should not throw an error when reading the model', async () => { |
| 322 | @Component({ |
| 323 | selector: 'app-root', |
| 324 | template: ``, |
| 325 | }) |
| 326 | class App { |
| 327 | id = input.required<string>(); |
| 328 | model = linkedSignal(() => ({id: this.id()})); |
| 329 | |
| 330 | form = form(this.model, () => {}, { |
| 331 | experimentalWebMcpTool: {description: 'foo', name: 'foo'}, |
| 332 | }); |
| 333 | } |
| 334 | |
| 335 | await TestBed.inject(ApplicationRef).whenStable(); |
| 336 | expect(() => TestBed.createComponent(App)).not.toThrow(); |
nothing calls this directly
no test coverage detected