Skip to content

Commit

Permalink
tests(execution): add missing new lines
Browse files Browse the repository at this point in the history
extracted from graphql#3362
  • Loading branch information
IvanGoncharov committed Mar 28, 2022
1 parent 6bcd241 commit b3c4ad9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/execution/__tests__/directives-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ describe('Execute: handles directives', () => {
data: { a: 'a', b: 'b' },
});
});

it('unless false includes inline fragment', () => {
const result = executeTestQuery(`
query {
Expand All @@ -188,6 +189,7 @@ describe('Execute: handles directives', () => {
data: { a: 'a', b: 'b' },
});
});

it('unless true includes inline fragment', () => {
const result = executeTestQuery(`
query {
Expand Down Expand Up @@ -234,6 +236,7 @@ describe('Execute: handles directives', () => {
data: { a: 'a', b: 'b' },
});
});

it('unless false includes anonymous inline fragment', () => {
const result = executeTestQuery(`
query Q {
Expand All @@ -248,6 +251,7 @@ describe('Execute: handles directives', () => {
data: { a: 'a', b: 'b' },
});
});

it('unless true includes anonymous inline fragment', () => {
const result = executeTestQuery(`
query {
Expand Down

0 comments on commit b3c4ad9

Please sign in to comment.