Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

Make persistence test compatible with current main

Lum110434dcf1f16b92
diff --git a/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts b/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts
index 857e6b67..f3761593 100644
--- a/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts
+++ b/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts
@@ -94,7 +94,7 @@ describe("persistence", () => {
});
it("should throw error when loading a fatally invalid graph", () => {
- const invalidGraph = { ...sampleGraph, nodes: "not-an-array" };
+ const invalidGraph = { ...sampleGraph, project: null };
saveGraph(tempDir, invalidGraph as unknown as KnowledgeGraph);
expect(() => {