Browse Source

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

Yordis Prieto 7 months ago
parent
commit
c38b091895
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/opencode/test/tool/tool.test.ts

+ 2 - 2
packages/opencode/test/tool/tool.test.ts

@@ -21,8 +21,8 @@ describe("tool.glob", () => {
     await App.provide({ cwd: projectRoot }, async () => {
     await App.provide({ cwd: projectRoot }, async () => {
       let result = await glob.execute(
       let result = await glob.execute(
         {
         {
-          pattern: "../../node_modules/**/*",
-          path: undefined,
+          pattern: "**/*",
+          path: "../../node_modules",
         },
         },
         ctx,
         ctx,
       )
       )