test: trim cron agentId label
This commit is contained in:
@@ -24,7 +24,7 @@ describe("normalizeCronJobCreate", () => {
|
|||||||
expect("provider" in payload).toBe(false);
|
expect("provider" in payload).toBe(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("normalizes agentId and drops null", () => {
|
it("trims agentId and drops null", () => {
|
||||||
const normalized = normalizeCronJobCreate({
|
const normalized = normalizeCronJobCreate({
|
||||||
name: "agent-set",
|
name: "agent-set",
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user