Skip to content

Commit d59dd30

Browse files
committed
Fix incorrect assertion for useQuery test due to bug in handler
1 parent e0890e6 commit d59dd30

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/react/hooks/__tests__/useQuery/deferGraphQL17Alpha9.test.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,12 @@ test("should handle deferred queries with fetch policy no-cache", async () => {
522522
dataState: "complete",
523523
loading: false,
524524
networkStatus: NetworkStatus.ready,
525-
previousData: undefined,
525+
previousData: {
526+
greeting: {
527+
message: "Hello world",
528+
__typename: "Greeting",
529+
},
530+
},
526531
variables: {},
527532
});
528533

0 commit comments

Comments
 (0)