Migrate project to TypeScript and Playwright scraping

This commit is contained in:
2026-08-05 13:47:45 +02:00
parent 8ecbc6655f
commit 639d9bec75
30 changed files with 3222 additions and 1625 deletions
+16
View File
@@ -0,0 +1,16 @@
// @ts-nocheck
import test from "node:test";
import assert from "node:assert/strict";
import { loadConfig } from "../src/config.ts";
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);
});