From 9693e1efee9dfcfcdef3a94022986ad2dbd400c2 Mon Sep 17 00:00:00 2001 From: Lum1104 Date: Thu, 2 Apr 2026 11:43:23 +0800 Subject: [PATCH] fix(core): remove dead import and unnecessary type cast in domain persistence test Co-Authored-By: Claude Opus 4.6 (1M context) --- .../packages/core/src/__tests__/domain-persistence.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/understand-anything-plugin/packages/core/src/__tests__/domain-persistence.test.ts b/understand-anything-plugin/packages/core/src/__tests__/domain-persistence.test.ts index 20845c3..4543a0c 100644 --- a/understand-anything-plugin/packages/core/src/__tests__/domain-persistence.test.ts +++ b/understand-anything-plugin/packages/core/src/__tests__/domain-persistence.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, beforeEach, afterEach } from "vitest"; -import { mkdirSync, rmSync, existsSync, readFileSync } from "node:fs"; +import { mkdirSync, rmSync, existsSync } from "node:fs"; import { join } from "node:path"; import { tmpdir } from "node:os"; import { saveDomainGraph, loadDomainGraph } from "../persistence/index.js"; @@ -20,7 +20,7 @@ const domainGraph: KnowledgeGraph = { nodes: [ { id: "domain:orders", - type: "domain" as any, + type: "domain", name: "Orders", summary: "Order management", tags: [],