From fcc256c3c911534f20125857cdbb80e56ab544ae Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sat, 6 Dec 2025 17:04:53 -0600 Subject: [PATCH] fix: test --- packages/opencode/test/tool/bash.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/test/tool/bash.test.ts b/packages/opencode/test/tool/bash.test.ts index 55b9ba77d6..0116f47cff 100644 --- a/packages/opencode/test/tool/bash.test.ts +++ b/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'",