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

Function createTestGraph

packages/graph/src/test/testHelpers.ts:101–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 * Note: validateProperties is set to false for backward compatibility with existing tests.
100 */
101export function createTestGraph(): Graph<StandardTestSchema> {
102 return new Graph({
103 schema: standardTestSchema,
104 storage: new InMemoryGraphStorage(),
105 validateProperties: false,
106 });
107}
108
109/**
110 * Schema for testing CREATE queries with User and Post vertices.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected