From 436bc4be41391caeb3223233d7d42b46bfa333a9 Mon Sep 17 00:00:00 2001 From: Robin Pyon Date: Fri, 23 Jun 2023 18:29:22 +0100 Subject: [PATCH] fixup! fix(core): add a cap on total search paths extracted per root-level object --- packages/@sanity/schema/src/legacy/searchConfig/resolve.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@sanity/schema/src/legacy/searchConfig/resolve.test.ts b/packages/@sanity/schema/src/legacy/searchConfig/resolve.test.ts index 52acfa3f368..88fced9bdd2 100644 --- a/packages/@sanity/schema/src/legacy/searchConfig/resolve.test.ts +++ b/packages/@sanity/schema/src/legacy/searchConfig/resolve.test.ts @@ -143,6 +143,7 @@ describe('searchConfig.resolve', () => { title: 'cover.0.card.0.title', subtitle: 'singleField', description: 'nested.field', + // @ts-expect-error test-specific: ignored isn't a valid key ignored: 'anyField', }, },