Skip to content

Commit

Permalink
put test back the way it was previously
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawyer Burnett committed Mar 19, 2024
1 parent f3d00a8 commit 20df5a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/groq-builder/src/commands/deref.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ describe("deref", () => {
const qVariants = qVariantsRefs.deref();

it("should deref a single item", () => {
type CategoryInferenceResult = InferResultType<typeof qCategory>;
expectTypeOf<CategoryInferenceResult>().toEqualTypeOf<SanitySchema.Category | null>();
expectTypeOf<
InferResultType<typeof qCategory>
>().toEqualTypeOf<SanitySchema.Category | null>();
expect(qCategory.query).toMatchInlineSnapshot(
`"*[_type == "product"][0].categories[][0]->"`
);
Expand Down

0 comments on commit 20df5a3

Please sign in to comment.