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.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
Align persistence test with fatal validation behavior
Lum1104334ac871df2e
diff --git a/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts b/understand-anything-plugin/packages/core/src/persistence/persistence.test.tsindex 9918cec4..857e6b67 100644--- a/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts+++ b/understand-anything-plugin/packages/core/src/persistence/persistence.test.ts@@ -93,8 +93,8 @@ describe("persistence", () => {expect(loaded).toBeNull();});- it("should throw error when loading invalid graph", () => {- const invalidGraph = { ...sampleGraph, version: 123 }; // Invalid version type+ it("should throw error when loading a fatally invalid graph", () => {+ const invalidGraph = { ...sampleGraph, nodes: "not-an-array" };saveGraph(tempDir, invalidGraph as unknown as KnowledgeGraph);expect(() => {