mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-18 10:07:58 +00:00
chore: generate
This commit is contained in:
@@ -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" })
|
||||
|
||||
Reference in New Issue
Block a user