Fix server CI test expectations

This commit is contained in:
Dotta committed 2026-07-09 18:50:07 +00:00
1 parent 0aee005b1f
commit 248a8d2e2d
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,