Skip to content

Commit 2f5506b

Browse files
committed
Fixup tests
1 parent 5e8ec56 commit 2f5506b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.size-limits.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (CJS)": 42138,
3-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production) (CJS)": 37491,
4-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\"": 32521,
5-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production)": 27439
2+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (CJS)": 42194,
3+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production) (CJS)": 37538,
4+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\"": 32547,
5+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production)": 27447
66
}

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,6 @@ describe("useQuery Hook", () => {
15441544
await expect(takeSnapshot()).resolves.toEqualQueryResult({
15451545
data: undefined,
15461546
error: undefined,
1547-
called: false,
15481547
loading: false,
15491548
networkStatus: NetworkStatus.ready,
15501549
previousData: undefined,
@@ -1560,7 +1559,6 @@ describe("useQuery Hook", () => {
15601559

15611560
await expect(takeSnapshot()).resolves.toEqualQueryResult({
15621561
data: { user: { __typename: "User", id: 1, name: "User 1" } },
1563-
called: true,
15641562
loading: false,
15651563
networkStatus: NetworkStatus.ready,
15661564
previousData: undefined,
@@ -1572,7 +1570,6 @@ describe("useQuery Hook", () => {
15721570
await expect(takeSnapshot()).resolves.toEqualQueryResult({
15731571
data: undefined,
15741572
error: undefined,
1575-
called: false,
15761573
loading: false,
15771574
networkStatus: NetworkStatus.ready,
15781575
previousData: { user: { __typename: "User", id: 1, name: "User 1" } },
@@ -1589,7 +1586,6 @@ describe("useQuery Hook", () => {
15891586

15901587
await expect(takeSnapshot()).resolves.toEqualQueryResult({
15911588
data: { user: { __typename: "User", id: 2, name: "User 2" } },
1592-
called: true,
15931589
loading: false,
15941590
networkStatus: NetworkStatus.ready,
15951591
previousData: { user: { __typename: "User", id: 1, name: "User 1" } },

0 commit comments

Comments
 (0)