Skip to content

The open source coding agent.

TypeScript

fix: update glob pattern and path in tool test (#1436)

Yordis Prietoc38b09189526
diff --git a/packages/opencode/test/tool/tool.test.ts b/packages/opencode/test/tool/tool.test.ts
index eea13f205c2..816918ea05f 100644
--- a/packages/opencode/test/tool/tool.test.ts
+++ b/packages/opencode/test/tool/tool.test.ts
@@ -21,8 +21,8 @@ describe("tool.glob", () => {
await App.provide({ cwd: projectRoot }, async () => {
let result = await glob.execute(
{
- pattern: "../../node_modules/**/*",
- path: undefined,
+ pattern: "**/*",
+ path: "../../node_modules",
},
ctx,
)