test(cli): cover background job promotion route

This commit is contained in:
marius-kilocode
2026-08-25 10:44:32 +02:00
parent 7e633ce277
commit 11e4a38ad9
@@ -586,6 +586,13 @@ export const kiloScenarios: Scenario[] = [
headers: ctx.headers(),
}))
.status(404),
http.protected
.post("/kilocode/background-jobs/{jobID}/promote", "kilocode.backgroundJob.promote")
.at((ctx) => ({
path: route("/kilocode/background-jobs/{jobID}/promote", { jobID: "job_httpapi_missing" }),
headers: ctx.headers(),
}))
.status(404),
http.protected
.post("/kilocode/heap/snapshot", "kilocode.heap.snapshot")
.mutating()