We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfbcf97 commit fcc256cCopy full SHA for fcc256c
packages/opencode/test/tool/bash.test.ts
@@ -13,14 +13,14 @@ const ctx = {
13
metadata: () => {},
14
}
15
16
-const bash = await BashTool.init()
17
const projectRoot = path.join(__dirname, "../..")
18
19
describe("tool.bash", () => {
20
test("basic", async () => {
21
await Instance.provide({
22
directory: projectRoot,
23
fn: async () => {
+ const bash = await BashTool.init()
24
const result = await bash.execute(
25
{
26
command: "echo 'test'",
0 commit comments