import { test, expect, type Page } from "@playwright/test"; // The /source/ page and the files it points at (common/publish/source.ts). // Like downloads.spec.ts, correct in BOTH states: the mirror, the raw tree and // the tarball are gitignored build artefacts, so a fresh checkout has none and // the page must say so rather than offer a clone that fails. The release gate // runs `archilyzer source publish` in the checkout first, so the published // branch is the one exercised there. // // This suite runs against `next dev`, which serves public/ from disk but does // NOT serve a directory's index.html at `/