From 49ff73890da55c5bd268cec6a77ec05c8530ee2e Mon Sep 17 00:00:00 2001 From: Zhaojun Zhang Date: Sat, 23 Apr 2016 19:34:32 -0700 Subject: [PATCH] Remove unused fragment in queries in unit tests --- src/execution/__tests__/directives-test.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/execution/__tests__/directives-test.js b/src/execution/__tests__/directives-test.js index 814147c858..c04c8c3cf3 100644 --- a/src/execution/__tests__/directives-test.js +++ b/src/execution/__tests__/directives-test.js @@ -153,9 +153,6 @@ describe('Execute: handles directives', () => { b } } - fragment Frag on TestType { - b - } `; return expect(await executeTestQuery(q)).to.deep.equal({ data: { a: 'a' } @@ -170,9 +167,6 @@ describe('Execute: handles directives', () => { b } } - fragment Frag on TestType { - b - } `; return expect(await executeTestQuery(q)).to.deep.equal({ data: { a: 'a', b: 'b' } @@ -186,9 +180,6 @@ describe('Execute: handles directives', () => { b } } - fragment Frag on TestType { - b - } `; return expect(await executeTestQuery(q)).to.deep.equal({ data: { a: 'a', b: 'b' } @@ -202,9 +193,6 @@ describe('Execute: handles directives', () => { b } } - fragment Frag on TestType { - b - } `; return expect(await executeTestQuery(q)).to.deep.equal({ data: { a: 'a' }