Skip to content

Commit

Permalink
tests(execution): add missing new lines (graphql#3522)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Mar 28, 2022
1 parent 6bcd241 commit f3248cd
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 f3248cd

Please sign in to comment.