Skip to content

Commit 43b532b

Browse files
committed
Minor change to name of some tests
1 parent 7dd28bc commit 43b532b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/__tests__/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ describe('client', () => {
941941
.then(resolve, reject);
942942
});
943943

944-
it('removes client fields from the query before it reaches the link', async () => {
944+
it('removes @client fields from the query before it reaches the link', async () => {
945945
const result: { current: Operation | undefined } = {
946946
current: undefined
947947
}
@@ -989,7 +989,7 @@ describe('client', () => {
989989
expect(print(result.current!.query)).toEqual(print(transformedQuery));
990990
});
991991

992-
it('sends client fields to the link when defaultOptions.transformQuery.removeClientFields is `false`', async () => {
992+
it('sends @client fields to the link when defaultOptions.transformQuery.removeClientFields is `false`', async () => {
993993
const result: { current: Operation | undefined } = {
994994
current: undefined
995995
};

src/core/__tests__/QueryManager/links.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ describe('Link interactions', () => {
362362
});
363363
});
364364

365-
it('removes client fields from the query before it reaches the link', async () => {
365+
it('removes @client fields from the query before it reaches the link', async () => {
366366
const result: { current: Operation | undefined } = {
367367
current: undefined
368368
};
@@ -409,7 +409,7 @@ describe('Link interactions', () => {
409409
expect(print(result.current!.query)).toEqual(print(expectedQuery))
410410
});
411411

412-
it('sends client directives to the link when defaultOptions.transformQuery.removeClientFields is false', async () => {
412+
it('sends @client fields to the link when defaultOptions.transformQuery.removeClientFields is false', async () => {
413413
const result: { current: Operation | undefined } = {
414414
current: undefined
415415
};

src/link/batch-http/__tests__/batchHttpLink.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ describe('SharedHttpTest', () => {
899899
);
900900
});
901901

902-
it('removes client fields from the query before sending it to the server', async () => {
902+
it('removes @client fields from the query before sending it to the server', async () => {
903903
fetchMock.mock('https://example.com/graphql', {
904904
status: 200,
905905
body: JSON.stringify({

src/link/http/__tests__/HttpLink.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ describe('HttpLink', () => {
10151015
);
10161016
});
10171017

1018-
it('removes client fields from the query before sending it to the server', async () => {
1018+
it('removes @client fields from the query before sending it to the server', async () => {
10191019
fetchMock.mock('https://example.com/graphql', {
10201020
status: 200,
10211021
body: JSON.stringify({

0 commit comments

Comments
 (0)