mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-07 09:11:42 +00:00
chore: generate
This commit is contained in:
parent
36119ff173
commit
f52ae28432
1 changed files with 1 additions and 4 deletions
|
|
@ -737,10 +737,7 @@ describe("util.effect-zod", () => {
|
|||
const fallback = platform === "darwin" ? "cmd-k" : "ctrl-k"
|
||||
const schema = zod(
|
||||
Schema.Struct({
|
||||
command_palette: Schema.String.pipe(
|
||||
Schema.optional,
|
||||
Schema.withDecodingDefault(Effect.sync(() => fallback)),
|
||||
),
|
||||
command_palette: Schema.String.pipe(Schema.optional, Schema.withDecodingDefault(Effect.sync(() => fallback))),
|
||||
}),
|
||||
)
|
||||
expect(schema.parse({})).toEqual({ command_palette: "cmd-k" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue