| 33 | { id: 3, source: 3, target: 1, type: 'DEFINES' }, { id: 4, source: 1, target: 4, type: 'INHERITS' }]; |
| 34 | const seen: (SelectionScope | undefined)[] = []; |
| 35 | const panel = (scope: SelectionScope | undefined) => { seen.push(scope); return <p>selection evidence</p>; }; |
| 36 | await act(async () => root.render(<GalaxyPanel project="sample" visible workspaceExpanded onOpenNode={vi.fn()} selectionPanel={panel} |
| 37 | fetch={scopeFetch({ nodes, edges }).fetch} />)); |
| 38 | await settle(() => expect(globalThis.__atlasGalaxy?.nodes).toBe(4)); |