feat(sources): ZZZ's City Fund pass windows from Fandom

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-16 06:22:05 +02:00
co-authored by Claude Opus 5.5
parent 9f8150fda7
commit a6a8efa661
7 changed files with 69 additions and 1 deletions
+3 -1
View File
@@ -111,7 +111,7 @@ describe("fandomtable canParse across every fixture", () => {
expect(files.length).toBeGreaterThan(20);
});
test("true on the two pass-history fixtures only", async () => {
test("true on the three pass-history fixtures only", async () => {
const accepted: string[] = [];
for (const f of files) {
if (fandomTableParser.canParse(await Bun.file(f).text())) accepted.push(f);
@@ -119,6 +119,7 @@ describe("fandomtable canParse across every fixture", () => {
expect(accepted).toEqual([
"fixtures/genshin/fandom-miliastra-pass-2026-10-16.html",
FIXTURE,
"fixtures/zzz/fandom-city-fund-2026-10-16.html",
]);
});
@@ -126,6 +127,7 @@ describe("fandomtable canParse across every fixture", () => {
for (const f of [
FIXTURE,
"fixtures/genshin/fandom-miliastra-pass-2026-10-16.html",
"fixtures/zzz/fandom-city-fund-2026-10-16.html",
]) {
const text = await Bun.file(f).text();
const claimants = PARSERS.filter((p) => p.canParse(text)).map((p) => p.id);