From 960ca0bc9fc05825e0e3e1394b02869c02c15b0b Mon Sep 17 00:00:00 2001 From: Mark Polak Date: Wed, 6 Mar 2024 13:11:15 +0100 Subject: [PATCH] Update test name --- packages/nova-react/src/graphql/hooks.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nova-react/src/graphql/hooks.test.tsx b/packages/nova-react/src/graphql/hooks.test.tsx index 6ae23b9..2d2041c 100644 --- a/packages/nova-react/src/graphql/hooks.test.tsx +++ b/packages/nova-react/src/graphql/hooks.test.tsx @@ -498,7 +498,7 @@ describe(usePaginationFragment, () => { void _; }); - it("allows null to be passed as a fragment ref and returns null or undefined", () => { + it("allows fragment ref, null, or undefined to be passed as a fragment ref and returns data, null, or undefined", () => { const graphql: NovaGraphQL = { usePaginationFragment: jest.fn().mockImplementation(() => ({ data: {}, @@ -535,7 +535,7 @@ describe(usePaginationFragment, () => { void _; }); - it("allows null to be passed as a fragment ref and returns null or undefined", () => { + it("allows null or undefined to be passed as a fragment ref and returns null or undefined", () => { const graphql: NovaGraphQL = { usePaginationFragment: jest.fn().mockImplementation(() => ({ data: {},