mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
test(cli): cover background job promotion route
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user