mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
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:
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) => {
|
||||
|
||||
Reference in new issue
Block a user