chore(confidence-engine): upgrade to zod 4
This commit is contained in:
@@ -36,7 +36,8 @@ describe("reconstruction schema", () => {
|
||||
const result = reconstructionSchema.safeParse(input);
|
||||
expect(result.success).toBe(false);
|
||||
if (!result.success) {
|
||||
expect(result.error.issues[0].message).toContain("Expected");
|
||||
expect(result.error.issues.length).toBeGreaterThan(0);
|
||||
expect(result.error.issues[0].path).toContain("confidence");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user