mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
Fix test expectation for unknown type fallback
Changed from 'any' to 'string' to match the updated implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
4be8c69e77
commit
4636aec9d4
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ describe("zodToJsonSchema", () => {
|
|||
test("handles unknown types with fallback", () => {
|
||||
// Create a custom Zod type that isn't handled
|
||||
const customSchema = z.any();
|
||||
expect(zodToJsonSchema(customSchema)).toEqual({ type: "any" });
|
||||
expect(zodToJsonSchema(customSchema)).toEqual({ type: "string" });
|
||||
});
|
||||
|
||||
test("handles deeply nested structures", () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue