mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 02:07:24 +00:00
fix: resolve test failures by adding missing zod-openapi import (#301)
Co-authored-by: opencode <noreply@opencode.ai>
This commit is contained in:
parent
0e8c3359d1
commit
09b89fdb23
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
import "zod-openapi/extend"
|
||||
import { Log } from "../util/log"
|
||||
import { Context } from "../util/context"
|
||||
import { Filesystem } from "../util/filesystem"
|
||||
|
|
|
@ -14,7 +14,7 @@ describe("tool.glob", () => {
|
|||
await App.provide({ cwd: process.cwd() }, async () => {
|
||||
let result = await GlobTool.execute(
|
||||
{
|
||||
pattern: "./node_modules/**/*",
|
||||
pattern: "../../node_modules/**/*",
|
||||
path: undefined,
|
||||
},
|
||||
ctx,
|
||||
|
@ -33,7 +33,7 @@ describe("tool.glob", () => {
|
|||
)
|
||||
expect(result.metadata).toMatchObject({
|
||||
truncated: false,
|
||||
count: 2,
|
||||
count: 3,
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue