diff options
Diffstat (limited to 'packages/opencode/test/tool/bash.test.ts')
| -rw-r--r-- | packages/opencode/test/tool/bash.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/opencode/test/tool/bash.test.ts b/packages/opencode/test/tool/bash.test.ts index e19949d6a..43277dfa2 100644 --- a/packages/opencode/test/tool/bash.test.ts +++ b/packages/opencode/test/tool/bash.test.ts @@ -8,6 +8,7 @@ const ctx = { sessionID: "test", messageID: "", toolCallID: "", + agent: "build", abort: AbortSignal.any([]), metadata: () => {}, } @@ -33,7 +34,7 @@ describe("tool.bash", () => { test("cd ../ should fail outside of project root", async () => { await App.provide({ cwd: projectRoot }, async () => { - await expect( + expect( bash.execute( { command: "cd ../", |
