mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
sync
This commit is contained in:
@@ -27,11 +27,14 @@ describe("tool.glob", () => {
|
||||
|
||||
describe("tool.ls", () => {
|
||||
test("basic", async () => {
|
||||
const result = await App.provide({ cwd: process.cwd(), version: "test" }, async () => {
|
||||
return await ListTool.execute({
|
||||
path: "./example",
|
||||
})
|
||||
})
|
||||
const result = await App.provide(
|
||||
{ cwd: process.cwd(), version: "test" },
|
||||
async () => {
|
||||
return await ListTool.execute({
|
||||
path: "./example",
|
||||
})
|
||||
},
|
||||
)
|
||||
expect(result.output).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user