test(web): ring nav has previous/next only since footer 0.2.2 (no random hop)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-26 10:31:12 +00:00
parent deb3b66ca3
commit 7890dba8ee

View file

@ -98,7 +98,8 @@ describe("server-rendered page markup", () => {
const markup = renderPageMarkup("/", await siteFooterHtml());
expect(markup).toContain("data-pfs-footer");
const from = "from=https%3A%2F%2Flogicsrc.com%2F";
for (const hop of ["previous", "next", "random"]) {
// @profullstack/footer 0.2.2 dropped the random and vote links from the ring nav.
for (const hop of ["previous", "next"]) {
expect(markup).toContain(`https://rssamplifier.com/ring/profullstack/${hop}?${from}`);
}
});