fix(core): remove dead import and unnecessary type cast in domain persistence test

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lum1104
2026-04-02 11:43:23 +08:00
Unverified
parent d89d7f6e93
commit 9693e1efee
@@ -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: [],