From 66a6b1b94b58dac505fe1e647afe6457fa4c4130 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Wed, 11 Nov 2026 10:39:47 -0600 Subject: [PATCH] test(aggregator): fix stale quota pool list and dns once-assertion (#8737) --- pm-stack/aggregator/test/quota.test.ts | 1 + pm-stack/aggregator/test/slice3.test.ts | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pm-stack/aggregator/test/quota.test.ts b/pm-stack/aggregator/test/quota.test.ts index 323cebf400..d9fd978291 100644 --- a/pm-stack/aggregator/test/quota.test.ts +++ b/pm-stack/aggregator/test/quota.test.ts @@ -401,6 +401,7 @@ describe("pass-through pool assembly (Drew, 2026-11-03)", () => { "_openai.alt", "opencode-go.drewrypope", "opencode-go.popesdrew", + "opencode-go.developing-today-0", "cline-pass", "_commandcode", "_antigravity.gemini", diff --git a/pm-stack/aggregator/test/slice3.test.ts b/pm-stack/aggregator/test/slice3.test.ts index 1632a2e9cb..90ee346b2a 100644 --- a/pm-stack/aggregator/test/slice3.test.ts +++ b/pm-stack/aggregator/test/slice3.test.ts @@ -693,7 +693,11 @@ describe("pages manifest + slice-3 renders", () => { const html = renderDns(FIXTURE_DNS, fixtureSource().provenance()); expect(html).toContain("Next renewal"); for (const entry of FIXTURE_DNS.entries) { - expect(html.split(entry.domain).length - 1).toBe(1); + // One row per domain: the domain appears in its row's anchor id + // (dns-, the next-renewal card's link target) and as the + // row's cell text — count rows, not raw string occurrences. + expect(html.split('id="dns-' + entry.domain + '"').length - 1).toBe(1); + expect(html.split('>' + entry.domain + '').length - 1).toBe(1); } expect(html).toContain('data-dns-filter="active"'); expect(html).toContain('data-dns-filter="earmarked"');