Fix server CI test expectations

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-07-09 20:49:40 +00:00
1 parent f9aa5922ff
commit bf0b0c8db1
2 files changed
+7

No files matched your search

@@ -695,6 +695,7 @@ describe.sequential("agent skill routes", () => {
instructionsFilePath: `/tmp/${createdAgentId}/instructions/AGENTS.md`,
}),
}),
expect.objectContaining({ allowPendingApprovalConfigUpdate: true }),
);
expect(mockAgentService.update.mock.calls.at(-1)?.[1]).not.toMatchObject({
adapterConfig: expect.objectContaining({
@@ -218,6 +218,12 @@ vi.mock("../services/index.js", () => ({
failed: 0,
seededAgentIds: [],
})),
reconcileBuiltInAgentsOnStartup: vi.fn(async () => ({
scanned: 0,
reconciled: 0,
unknown: 0,
duplicates: 0,
})),
reconcilePersistedRuntimeServicesOnStartup: vi.fn(async () => ({ reconciled: 0 })),
resolveHeartbeatSchedulingSuppression: resolveHeartbeatSchedulingSuppressionMock,
routineService: routineServiceFactoryMock,