/* Unit tests for config covering dht/config. It also guards the documented public contract and regression-sensitive edge cases. Not a contract source of truth — the module under test owns the authoritative behavior; fixtures are minimal scaffolding only. Fixtures stay inline and minimal so each case states its own setup. RFC-1311: Compass header sweep — declares the config suite's contract for test-file scaffold coverage. */ // @ai-invariant fixtures must not couple to kernel internals beyond the public surface under test import { test, expect, describe } from "vitest"; import * as mod from "../config.ts"; describe("dht/config", () => { test("module loads successfully", () => { expect(mod).toBeDefined(); }); test("exports validateDhtConfig", () => { expect(typeof mod.validateDhtConfig).toBe("function"); }); test("exports loadDhtConfig", () => { expect(typeof mod.loadDhtConfig).toBe("function"); }); test("exports createDhtConfig", () => { expect(typeof mod.createDhtConfig).toBe("function"); }); });