Skip to content

Commit 8e70272

Browse files
committed
fix: include taskId in test assertion for blocking task result
Change-Id: I08c56fc42bd03e6c403b0ab320d429b5c6950eed Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent 846aa28 commit 8e70272

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node/services/tools/task.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ describe("task tool", () => {
7272
expect(waitForAgentReport).toHaveBeenCalledWith("child-task", expect.any(Object));
7373
expect(result).toEqual({
7474
status: "completed",
75+
taskId: "child-task",
7576
reportMarkdown: "Hello from child",
7677
title: "Result",
7778
agentType: "explore",

0 commit comments

Comments
 (0)