()
| 5 | |
| 6 | const node = (id: number, label = 'File'): GraphNode => ({ id, x: 1, y: 2, z: 3, label, name: `node-${id}`, file_path: `src/${id}.ts`, size: 4, color: '#00ff88', status: 'structural' }); |
| 7 | const fixture = (): GraphData => ({ |
| 8 | nodes: [node(1), node(-1)], edges: [], total_nodes: 2, |
| 9 | missed_graph: { nodes: [node(1, 'Folder'), node(2)], edges: [{ source: 1, target: 2, type: 'CONTAINS_FILE' }], offset: { x: 100, y: -300, z: 10 } }, |
| 10 | }); |
| 11 | |
| 12 | describe('coverage layout payload', () => { |
| 13 | it('preserves the separate typed skeleton and offset without adding it to code nodes', () => { |
no test coverage detected