Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cellule committed Feb 4, 2025
1 parent 1e7f3f4 commit 2443ac2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/react/hooks/__tests__/useLoadableQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5094,10 +5094,13 @@ it("can subscribe to subscriptions and react to cache updates via `subscribeToMo
expect(updateQuery).toHaveBeenCalledWith(
{ greeting: "Hello" },
{
complete: true,
previousQueryResult: { greeting: "Hello" },
subscriptionData: {
data: { greetingUpdated: "Subscription hello" },
},
variables: {},
subscriptionVariables: undefined
}
);
});
Expand Down

0 comments on commit 2443ac2

Please sign in to comment.