Skip to content

Commit

Permalink
Remove unused fragment in queries in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojunz committed Apr 24, 2016
1 parent dd02973 commit 49ff738
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/execution/__tests__/directives-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand All @@ -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' }
Expand All @@ -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' }
Expand All @@ -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' }
Expand Down

0 comments on commit 49ff738

Please sign in to comment.