Skip to content

Commit

Permalink
Update failing useQuery tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Feb 10, 2025
1 parent 7c6f331 commit 4e08f3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/react/hooks/__tests__/useQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3971,7 +3971,7 @@ describe("useQuery Hook", () => {
errors: [{ message: "error" }],
called: true,
loading: false,
networkStatus: NetworkStatus.ready,
networkStatus: NetworkStatus.error,
previousData: undefined,
variables: {},
});
Expand Down Expand Up @@ -4039,7 +4039,7 @@ describe("useQuery Hook", () => {
errors: [{ message: 'Could not fetch "hello"' }],
called: true,
loading: false,
networkStatus: NetworkStatus.ready,
networkStatus: NetworkStatus.error,
previousData: undefined,
variables: {},
});
Expand Down Expand Up @@ -4103,7 +4103,7 @@ describe("useQuery Hook", () => {
errors: [{ message: 'Could not fetch "hello"' }],
called: true,
loading: false,
networkStatus: NetworkStatus.ready,
networkStatus: NetworkStatus.error,
previousData: undefined,
variables: {},
});
Expand Down Expand Up @@ -12025,7 +12025,7 @@ describe("useQuery Hook", () => {
],
called: true,
loading: false,
networkStatus: NetworkStatus.ready,
networkStatus: NetworkStatus.error,
previousData: {
hero: {
heroFriends: [
Expand Down Expand Up @@ -13506,7 +13506,7 @@ describe("useQuery Hook", () => {
errors: [{ message: "Couldn't get name" }],
called: true,
loading: false,
networkStatus: NetworkStatus.ready,
networkStatus: NetworkStatus.error,
previousData: undefined,
variables: {},
});
Expand Down

0 comments on commit 4e08f3b

Please sign in to comment.