Skip to content

Commit fcc256c

Browse files
committed
fix: test
1 parent bfbcf97 commit fcc256c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opencode/test/tool/bash.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ const ctx = {
1313
metadata: () => {},
1414
}
1515

16-
const bash = await BashTool.init()
1716
const projectRoot = path.join(__dirname, "../..")
1817

1918
describe("tool.bash", () => {
2019
test("basic", async () => {
2120
await Instance.provide({
2221
directory: projectRoot,
2322
fn: async () => {
23+
const bash = await BashTool.init()
2424
const result = await bash.execute(
2525
{
2626
command: "echo 'test'",

0 commit comments

Comments
 (0)