Skip to content

Commit

Permalink
fix up merge
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Aug 6, 2024
1 parent 0547870 commit ac6b220
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/react/hooks/__tests__/useQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10128,6 +10128,8 @@ describe("useQuery Hook", () => {
link.simulateResult({ result: { data: { hello: "Greetings" } } }, true);
await expect(ProfiledHook).not.toRerender({ timeout: 50 });
expect(requests).toBe(1);
});

// https://github.com/apollographql/apollo-client/issues/11938
it("does not emit `data` on previous fetch when a 2nd fetch is kicked off and the result returns an error when errorPolicy is none", async () => {
const query = gql`
Expand Down

0 comments on commit ac6b220

Please sign in to comment.