From 20df5a3904449eb7894f5ef5a10b63c95fc95685 Mon Sep 17 00:00:00 2001 From: Sawyer Burnett Date: Tue, 19 Mar 2024 08:22:19 -0700 Subject: [PATCH] put test back the way it was previously --- packages/groq-builder/src/commands/deref.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/groq-builder/src/commands/deref.test.ts b/packages/groq-builder/src/commands/deref.test.ts index 354804b7..24880904 100644 --- a/packages/groq-builder/src/commands/deref.test.ts +++ b/packages/groq-builder/src/commands/deref.test.ts @@ -17,8 +17,9 @@ describe("deref", () => { const qVariants = qVariantsRefs.deref(); it("should deref a single item", () => { - type CategoryInferenceResult = InferResultType; - expectTypeOf().toEqualTypeOf(); + expectTypeOf< + InferResultType + >().toEqualTypeOf(); expect(qCategory.query).toMatchInlineSnapshot( `"*[_type == "product"][0].categories[][0]->"` );