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