MCPcopy Create free account
hub / github.com/CheMiguel23/MemoryMesh / createGraph

Function createGraph

tests/unit/graph/graphValidator.test.ts:22–25  ·  view source on GitHub ↗
(nodes: Node[] = [], edges: Edge[] = [])

Source from the content-addressed store, hash-verified

20 });
21
22 const createGraph = (nodes: Node[] = [], edges: Edge[] = []): Graph => ({
23 nodes,
24 edges
25 });
26
27 describe('validateNodeExists', () => {
28 it('should pass when node exists', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected