mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 04:26:05 +00:00
fix: test
This commit is contained in:
parent
bfbcf978fa
commit
fcc256c3c9
1 changed files with 1 additions and 1 deletions
|
|
@ -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'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue