test(evals): let the status-card prerequisite fixture read the lead's run allowance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DottaandClaude Opus 5.5 committed 2026-11-09 05:26:45 -06:00
1 parent c5f5570dc6
commit e4323ce47c
1 file changed
+1
@@ -18,6 +18,7 @@ function fixture(key: string, deadline: number | undefined) {
if (path === "/api/instance/settings/experimental") return { enableStatusCards: false };
if (path === "/api/status-cards/card") { if (late) vi.setSystemTime(deadline! + 1); return card(); }
if (path.endsWith("/updates") || path.endsWith("/summary-revisions")) return [];
if (path === "/api/agents/ceo") return { runtimeConfig: { heartbeat: { maxDailyRuns: 4 } } };
throw Error("Unexpected fixture read");
});
const post = vi.fn(async (path: string) => {