test(runner): include required artifact kind in completion fixture

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta 2026-09-12 22:32:01 -05:00
parent 0be8ba9d97
commit 104d1e2319
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ describe("native runner file handoff", () => {
.resolves.toContain("Completion report accepted");
await expect(nativeCompletionFeedback(db, runId, doneReport(["README.md"])))
.resolves.toContain("Completion report accepted");
await expect(nativeCompletionFeedback(db, runId, { ...doneReport([]), artifacts: [{ ref: "unpublished.pdf" }] }))
await expect(nativeCompletionFeedback(db, runId, { ...doneReport([]), artifacts: [{ kind: "file", ref: "unpublished.pdf" }] }))
.rejects.toThrow("workspace-only file");
} finally {
await db.update(issues).set({ title: "Prepare a requested file" }).where(eq(issues.id, issueId));