test(cli): pass --provider explicitly in schedule create test

Commit d3f9655e removed the implicit 'claude' default for --provider on
schedule create. Test 1 still relied on the default, which fails fast
with MISSING_PROVIDER. Pass --provider claude so the assertion path that
expects target=new-agent:claude continues to hold.
This commit is contained in:
Mohamed Boudra
2026-04-26 23:07:01 +07:00
parent 08fbddae4a
commit 0daf3c209b
+12 -1
View File
@@ -16,7 +16,18 @@ try {
{
console.log("Test 1: schedule create/ls/inspect/pause/resume/delete work");
const created = await ctx.paseo(
["schedule", "create", "Review new PRs", "--every", "5m", "--name", "review-prs", "--json"],
[
"schedule",
"create",
"Review new PRs",
"--every",
"5m",
"--name",
"review-prs",
"--provider",
"claude",
"--json",
],
{ timeout: 30000 },
);
assert.strictEqual(created.exitCode, 0, created.stderr);