Skip to content

Commit

Permalink
Update test name
Browse files Browse the repository at this point in the history
  • Loading branch information
Markionium committed Mar 6, 2024
1 parent 461fd62 commit 96ddc10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nova-react/src/graphql/hooks.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down Expand Up @@ -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: {},
Expand Down

0 comments on commit 96ddc10

Please sign in to comment.