()
| 56 | const click = async (label: string, scope?: ParentNode) => { await act(async () => button(label, scope).click()); }; |
| 57 | /** Opens the agent configuration and loads the fake model. */ |
| 58 | const load = async () => { |
| 59 | await render({ ...props, settingsRequest: (props.settingsRequest ?? 0) + 1 }); |
| 60 | await click('Download & load'); |
| 61 | }; |
| 62 | const type = async (value: string) => { |
| 63 | const input = container.querySelector('textarea')!; |
| 64 | await act(async () => { |