mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
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:
parent
deb3b66ca3
commit
7890dba8ee
1 changed files with 2 additions and 1 deletions
|
|
@ -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}`);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue