Skip to content

Commit a576770

Browse files
committed
format
1 parent f276087 commit a576770

16 files changed

+43
-16
lines changed

src/link/persisted-queries/__tests__/react.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
createPersistedQueryLink as createPersistedQuery,
1616
VERSION,
1717
} from "@apollo/client/link/persisted-queries";
18-
import { ApolloProvider, useQuery } from "@apollo/client/react";
18+
import { ApolloProvider, useQuery } from "@apollo/client/react";
1919
import { getDataFromTree } from "@apollo/client/react/ssr";
2020
import { addTypenameToDocument } from "@apollo/client/utilities";
2121

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from "react";
44
import { InMemoryCache } from "@apollo/client/cache";
55
import { ApolloClient } from "@apollo/client/core";
66
import { ApolloLink } from "@apollo/client/link/core";
7-
import { ApolloProvider , useApolloClient } from "@apollo/client/react";
7+
import { ApolloProvider, useApolloClient } from "@apollo/client/react";
88
import { InvariantError } from "@apollo/client/utilities/invariant";
99

1010
describe("useApolloClient Hook", () => {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import {
2525
split,
2626
} from "@apollo/client/core";
2727
import type { Masked, MaskedDocumentNode } from "@apollo/client/masking";
28-
import { ApolloProvider ,
28+
import {
29+
ApolloProvider,
2930
skipToken,
3031
useBackgroundQuery,
3132
useReadQuery,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
InMemoryCache,
3535
} from "@apollo/client/core";
3636
import type { FragmentType } from "@apollo/client/masking";
37-
import { ApolloProvider , useFragment, useQuery } from "@apollo/client/react";
37+
import { ApolloProvider, useFragment, useQuery } from "@apollo/client/react";
3838
import { spyOnConsole } from "@apollo/client/testing/internal";
3939
import { MockedProvider } from "@apollo/client/testing/react";
4040
import { concatPagination } from "@apollo/client/utilities";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import type {
3030
MaskedDocumentNode,
3131
Unmasked,
3232
} from "@apollo/client/masking";
33-
import { ApolloProvider , useLazyQuery } from "@apollo/client/react";
33+
import { ApolloProvider, useLazyQuery } from "@apollo/client/react";
3434
import {
3535
MockLink,
3636
mockSingleLink,

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ import {
3232
split,
3333
} from "@apollo/client/core";
3434
import type { QueryRef } from "@apollo/client/react";
35-
import { ApolloProvider , useLoadableQuery, useReadQuery } from "@apollo/client/react";
35+
import {
36+
ApolloProvider,
37+
useLoadableQuery,
38+
useReadQuery,
39+
} from "@apollo/client/react";
3640
import type { MockedResponse } from "@apollo/client/testing";
3741
import { MockLink, MockSubscriptionLink, wait } from "@apollo/client/testing";
3842
import type { SimpleCaseData } from "@apollo/client/testing/internal";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
import { BatchHttpLink } from "@apollo/client/link/batch-http";
3535
import type { FetchResult } from "@apollo/client/link/core";
3636
import type { Masked } from "@apollo/client/masking";
37-
import { ApolloProvider , useMutation, useQuery } from "@apollo/client/react";
37+
import { ApolloProvider, useMutation, useQuery } from "@apollo/client/react";
3838
import type { MockedResponse } from "@apollo/client/testing";
3939
import {
4040
MockLink,

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ import {
3333
} from "@apollo/client/core";
3434
import { ApolloLink } from "@apollo/client/link/core";
3535
import type { Unmasked } from "@apollo/client/masking";
36-
import { ApolloProvider , useLazyQuery, useMutation, useQuery } from "@apollo/client/react";
36+
import {
37+
ApolloProvider,
38+
useLazyQuery,
39+
useMutation,
40+
useQuery,
41+
} from "@apollo/client/react";
3742
import type { MockedResponse } from "@apollo/client/testing";
3843
import {
3944
MockLink,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import {
1515
NetworkStatus,
1616
split,
1717
} from "@apollo/client/core";
18-
import { createQueryPreloader ,
18+
import {
19+
createQueryPreloader,
1920
useBackgroundQuery,
2021
useLoadableQuery,
2122
useQueryRefHandlers,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
CombinedProtocolErrors,
1818
} from "@apollo/client/errors";
1919
import type { Masked, MaskedDocumentNode } from "@apollo/client/masking";
20-
import { ApolloProvider , useSubscription } from "@apollo/client/react";
20+
import { ApolloProvider, useSubscription } from "@apollo/client/react";
2121
import { MockSubscriptionLink, tick, wait } from "@apollo/client/testing";
2222
import { mockMultipartSubscriptionStream } from "@apollo/client/testing/internal";
2323
import { InvariantError } from "@apollo/client/utilities/invariant";

0 commit comments

Comments
 (0)