feat(colophon): thank Game-Time-Master for the reset clocks
CI / Typecheck, test, feed (push) Successful in 14s
CI / Build site (push) Successful in 8s
CI / Container image (push) Successful in 35s

Every server's reset hour and offset was checked against it, so it is
credited beside the schedules' sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-13 12:44:16 +02:00
co-authored by Claude Opus 5.5
parent be5089fca6
commit 84ea00c059
2 changed files with 38 additions and 1 deletions
+12 -1
View File
@@ -12,7 +12,7 @@ import {
import { eventCaption, YourOwn } from "../src/client/components/YourOwn.tsx";
import { EventRow } from "../src/client/components/EventRow.tsx";
import { EventDetail } from "../src/client/components/EventDetail.tsx";
import { AUTHOR, Colophon, REPO_URL } from "../src/client/components/Colophon.tsx";
import { AUTHOR, Colophon, REPO_URL, RESET_CLOCK_CREDIT } from "../src/client/components/Colophon.tsx";
import { GameMetaProvider } from "../src/client/state/gameMeta.tsx";
import {
asDisplayEvent,
@@ -502,6 +502,17 @@ describe("Colophon freshness notice (PRD F7)", () => {
// muted class as its neighbours, and no ask anywhere in the footer.
expect(html).not.toMatch(/support me|buy me|donate|tip jar/i);
});
test("thanks Game-Time-Master for the reset clocks, beside the sources", () => {
// Every daily reset the app counts down to was checked against it, so it is
// credited where the schedules' sources are rather than among the ideas.
const html = renderToStaticMarkup(<Colophon sources={[fresh]} now={NOW} />);
expect(html).toContain(RESET_CLOCK_CREDIT.url);
expect(html).toContain(RESET_CLOCK_CREDIT.name);
const credit = html.indexOf(RESET_CLOCK_CREDIT.url);
expect(credit).toBeGreaterThan(html.indexOf("With thanks to"));
expect(credit).toBeLessThan(html.indexOf("Not affiliated"));
});
});
describe("stating a repeat", () => {