Skip to content

test: keep the unlinked qualifiers page test inside October - #141

Merged
anurag629 merged 1 commit into
developfrom
fix/page-test-clock
Nov 3, 2026
Merged

anurag629 merged 1 commit into
developfrom
fix/page-test-clock

Conversation

@anurag629

Copy link
Copy Markdown
Member

What does this change?

GET /leaderboard only lists qualifiers who haven't linked GitHub while the program is running. The "names qualifying unlinked members when linking is enabled" test in test/page.test.ts used the real clock, so once October 2026 ended it started failing on develop and on every open PR (#140 hit it). The test now pins Date to the file's existing during timestamp (Oct 12) and restores the real clock when it finishes.

How I tested this

npm run typecheck is clean and npm test passes all 412 tests. The test fails on develop today and passes with this change.

GET /leaderboard only lists qualifiers who haven't linked GitHub while the program runs. The test used the real clock, so once October 2026 ended it started failing on develop and on every PR. It now pins Date to the existing 'during' timestamp.
@anurag629
anurag629 merged commit b519576 into develop Nov 3, 2026
@anurag629
anurag629 deleted the fix/page-test-clock branch November 3, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant