MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / fixture

Function fixture

graph-ui/src/galaxy/coverage-shadow.test.ts:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6const 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' });
7const 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
12describe('coverage layout payload', () => {
13 it('preserves the separate typed skeleton and offset without adding it to code nodes', () => {

Callers 1

Calls 1

nodeFunction · 0.70

Tested by

no test coverage detected