Files
paseo/packages/website/src/schedule-docs.test.ts
T
Mohamed Boudra ef77b823ae chore(release): reconcile 0.15.0-beta.1 metadata (#8443)
* docs(changelog): prepare 0.15.0-beta.1

(cherry picked from commit 7e5ad53491)

* chore(release): cut 0.15.0-beta.1

(cherry picked from commit 8bd38fb236)

* test(docs): follow nested worktrees page
2026-11-01 12:56:41 +07:00

17 lines
586 B
TypeScript

import { readFile } from "node:fs/promises";
import path from "node:path";
import { expect, it } from "vitest";
const docsRoot = path.resolve(import.meta.dirname, "../../../public-docs");
it.each(["schedules.md", "schedules-cli.md", "mcp.md", "worktrees/index.md"])(
"%s makes schedule run retention discoverable",
async (file) => {
const markdown = await readFile(path.join(docsRoot, file), "utf8");
expect(markdown).toContain("Archive on finish");
if (file !== "schedules.md") {
expect(markdown).toContain("/docs/schedules#keep-run-workspaces");
}
},
);