/*
Unit tests for git ops covering gitmesh/git-ops. 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 git 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 "../git-ops.ts";
describe("gitmesh/git-ops", () => {
test("module loads successfully", () => {
expect(mod).toBeDefined();
});
test("exports gitFetch", () => {
expect(typeof mod.gitFetch).toBe("function");
});
test("exports gitRevParseHead", () => {
expect(typeof mod.gitRevParseHead).toBe("function");
});
test("exports gitRemoteList", () => {
expect(typeof mod.gitRemoteList).toBe("function");
});
test("exports gitLogSignatureStatus", () => {
expect(typeof mod.gitLogSignatureStatus).toBe("function");
});
});