(scope: Parameters<typeof SelectionContextPanel>[0]['scope'])
| 39 | |
| 40 | it('K13: says when the scope is partial, still loading or traced in one direction or for some types only', async () => { |
| 41 | const render = (scope: Parameters<typeof SelectionContextPanel>[0]['scope']) => act(async () => root.render( |
| 42 | <SelectionContextPanel graph={snapshot} selected={selected} path="general.py" onNavigate={vi.fn()} scope={scope} />)); |
| 43 | await render({ graph: scopeGraph, complete: false, direction: 'both' }); |
| 44 | expect(host.textContent).toContain('The scope is still loading'); |
| 45 | await render({ graph: scopeGraph, complete: true, direction: 'both', partial: { layer: 3, nodes: 9139, edges: 43010, limit: 'nodes' } }); |
no test coverage detected