test(config): guard optional tools schema parse result

This commit is contained in:
Peter Steinberger
2026-04-05 14:18:13 +01:00
parent 01c5dde6d1
commit 4fedc5c105

View File

@@ -271,7 +271,7 @@ describe("config schema", () => {
},
});
expect(parsed.experimental?.planTool).toBe(true);
expect(parsed?.experimental?.planTool).toBe(true);
});
it("accepts web fetch maxResponseBytes in the runtime zod schema", () => {