Aiden Cline il y a 4 mois
Parent
commit
fcc256c3c9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/opencode/test/tool/bash.test.ts

+ 1 - 1
packages/opencode/test/tool/bash.test.ts

@@ -13,7 +13,6 @@ const ctx = {
   metadata: () => {},
 }
 
-const bash = await BashTool.init()
 const projectRoot = path.join(__dirname, "../..")
 
 describe("tool.bash", () => {
@@ -21,6 +20,7 @@ describe("tool.bash", () => {
     await Instance.provide({
       directory: projectRoot,
       fn: async () => {
+        const bash = await BashTool.init()
         const result = await bash.execute(
           {
             command: "echo 'test'",