This commit is contained in:
Dax Raad
2025-06-01 15:01:57 -04:00
parent a1c4f345a8
commit e764525578
2 changed files with 42 additions and 5 deletions

View File

@@ -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()
})
})