fix: align agent id normalization
This commit is contained in:
1 parent
ef9ba66798
commit
298901208d
4 files changed
+4
-4
No files matched your search
@@ -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"], {
|
||||
|
||||
Reference in new issue
Block a user