/*
Unit tests for config covering gitmesh/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("gitmesh/config", () => {
test("module loads successfully", () => {
expect(mod).toBeDefined();
});
test("exports validateConfig", () => {
expect(typeof mod.validateConfig).toBe("function");
});
test("exports loadGitMeshConfig", () => {
expect(typeof mod.loadGitMeshConfig).toBe("function");
});
test("exports loadOrCreateConfig", () => {
expect(typeof mod.loadOrCreateConfig).toBe("function");
});
});