fix: sync tests with config normalization

This commit is contained in:
Peter Steinberger
2026-01-24 13:32:22 +00:00
parent c8afa8207c
commit 386d21b6d1
5 changed files with 6 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ describe("cron cli", () => {
const updateCall = callGatewayFromCli.mock.calls.find((call) => call[0] === "cron.update");
const patch = updateCall?.[2] as { patch?: { agentId?: unknown } };
expect(patch?.patch?.agentId).toBe("ops");
expect(patch?.patch?.agentId).toBe("Ops");
callGatewayFromCli.mockClear();
await program.parseAsync(["cron", "edit", "job-2", "--clear-agent"], {