Skip to content

Commit 5a66762

Browse files
anandgupta42claude
andcommitted
fix: resolve type error in glob test — abort field requires AbortSignal
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7557178 commit 5a66762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/test/tool/glob.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ describe("tool.glob", () => {
222222
directory: tmp.path,
223223
fn: async () => {
224224
const glob = await GlobTool.init()
225-
const result = await glob.execute({ pattern: "*.txt" }, { ...ctx, abort: undefined })
225+
const result = await glob.execute({ pattern: "*.txt" }, ctx)
226226
expect(result.metadata.count).toBe(1)
227227
expect(result.metadata.truncated).toBe(false)
228228
expect(result.output).not.toContain("timed out")

0 commit comments

Comments
 (0)