From 5fc2d0ff39f111b5ffeddb130022fb20c7cc2274 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Fri, 6 Mar 2026 02:20:26 -0500 Subject: [PATCH] Tests: fix synthetic schema lookup typing --- src/config/schema.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/schema.test.ts b/src/config/schema.test.ts index edd4b43e576..2c1780c5c6f 100644 --- a/src/config/schema.test.ts +++ b/src/config/schema.test.ts @@ -244,7 +244,7 @@ describe("config schema", () => { }); it("uses the indexed tuple item schema for positional array lookups", () => { - const tupleSchema: Parameters[0] = { + const tupleSchema = { schema: { type: "object", properties: { @@ -257,7 +257,7 @@ describe("config schema", () => { uiHints: {}, version: "test", generatedAt: "test", - }; + } as unknown as Parameters[0]; const lookup = lookupConfigSchema(tupleSchema, "pair.1"); expect(lookup?.path).toBe("pair.1");