(id: number, extra: Partial<GraphNode>)
| 20 | afterEach(async () => { await act(async () => root.unmount()); host.remove(); }); |
| 21 | |
| 22 | const node = (id: number, extra: Partial<GraphNode>): GraphNode => ({ id, x: 0, y: 0, z: 0, size: 1, color: '#fff', label: 'Folder', name: `n${id}`, ...extra }); |
| 23 | const project = node(1, { label: 'Project', name: 'django-demo', qualified_name: 'django-demo' }); |
| 24 | const branch = node(2, { label: 'Branch', name: 'DETACHED', qualified_name: 'django-demo.__branch__.detached' }); |
| 25 | const github = node(4, { name: '.github', qualified_name: 'django-demo..github', file_path: '.github' }); |
no outgoing calls
no test coverage detected