Initial catalog maker baseline

This commit is contained in:
2026-08-05 12:25:23 +02:00
commit 2e7d83b679
30 changed files with 5437 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import test from "node:test";
import assert from "node:assert/strict";
import { loadConfig } from "../src/config.js";
test("defaults to dry-run mode", () => {
const config = loadConfig({ configPath: "missing.json" });
assert.equal(config.dryRun, true);
});
test("cli dry-run override wins over local config", () => {
const config = loadConfig({ configPath: "missing.json", dryRun: true });
assert.equal(config.dryRun, true);
});