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

Function createTestGraph

packages/graph/src/test/duration-temporal.test.ts:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

queryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected