()
| 16 | afterEach(async () => { await act(async () => root.unmount()); host.remove(); }); |
| 17 | |
| 18 | const makeProps = (): AtlasChromeProps => ({ |
| 19 | version: 'test', chips: [], tabs: [], onSelectTab: vi.fn(), onCloseTab: vi.fn(), |
| 20 | tree: { projectName: 'sample', rows: [], cursor: 0, activePath: '', note: '', |
| 21 | onCursorChange: vi.fn(), onOpen: vi.fn(), onToggle: vi.fn(), onKeyDown: vi.fn() }, |
| 22 | breadcrumb: [], children: <input aria-label="Preserved reader" defaultValue="selected source" />, |
| 23 | truncationNote: '', commandValue: '', onCommandChange: vi.fn(), commandHint: '', status: [], |
| 24 | }); |
| 25 | |
| 26 | it('offers the Galaxy workspace and reports the selected task', async () => { |
| 27 | const onWorkspaceChange = vi.fn(); |
no outgoing calls
no test coverage detected