Files

14 lines
441 B
TypeScript
Raw Permalink Normal View History

2026-06-30 20:57:55 +10:00
import { describe, it } from "node:test";
import { expect } from "expect";
import { createDefaultConfig } from "../../src/config/defaults.js";
import { resolveTruthDocsRoot } from "../../src/truth/docs.js";
describe("resolveTruthDocsRoot", () => {
it("returns the normalized configured truth root", () => {
const config = createDefaultConfig();
2026-06-16 00:54:46 +10:00
expect(resolveTruthDocsRoot(config)).toBe("docs/truthmark/engineering");
});
});