MCPcopy Create free account
hub / github.com/codemix/graph / createTestGraph

Function createTestGraph

packages/graph/src/test/range-reverse.test.ts:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44} as const satisfies GraphSchema;
45
46function createTestGraph() {
47 const graph = new Graph({ schema, storage: new InMemoryGraphStorage() });
48 return graph;
49}
50
51function executeQuery(graph: Graph<GraphSchema>, queryString: string): unknown[] {
52 const ast = parse(queryString) as Query | UnionQuery | MultiStatement;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected