From b3c4ad98ceaae4fccc1cc50ff159c6c8a51175f2 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Mon, 28 Mar 2022 14:27:57 +0300 Subject: [PATCH] tests(execution): add missing new lines extracted from #3362 --- src/execution/__tests__/directives-test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/execution/__tests__/directives-test.ts b/src/execution/__tests__/directives-test.ts index 0c85f5caac..d94c0f2b8a 100644 --- a/src/execution/__tests__/directives-test.ts +++ b/src/execution/__tests__/directives-test.ts @@ -174,6 +174,7 @@ describe('Execute: handles directives', () => { data: { a: 'a', b: 'b' }, }); }); + it('unless false includes inline fragment', () => { const result = executeTestQuery(` query { @@ -188,6 +189,7 @@ describe('Execute: handles directives', () => { data: { a: 'a', b: 'b' }, }); }); + it('unless true includes inline fragment', () => { const result = executeTestQuery(` query { @@ -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 { @@ -248,6 +251,7 @@ describe('Execute: handles directives', () => { data: { a: 'a', b: 'b' }, }); }); + it('unless true includes anonymous inline fragment', () => { const result = executeTestQuery(` query {