Skip to content

Commit cbded82

Browse files
zhaojunzleebyron
authored andcommitted
Remove unused fragment in queries in unit tests (#367)
1 parent dd02973 commit cbded82

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/execution/__tests__/directives-test.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ describe('Execute: handles directives', () => {
153153
b
154154
}
155155
}
156-
fragment Frag on TestType {
157-
b
158-
}
159156
`;
160157
return expect(await executeTestQuery(q)).to.deep.equal({
161158
data: { a: 'a' }
@@ -170,9 +167,6 @@ describe('Execute: handles directives', () => {
170167
b
171168
}
172169
}
173-
fragment Frag on TestType {
174-
b
175-
}
176170
`;
177171
return expect(await executeTestQuery(q)).to.deep.equal({
178172
data: { a: 'a', b: 'b' }
@@ -186,9 +180,6 @@ describe('Execute: handles directives', () => {
186180
b
187181
}
188182
}
189-
fragment Frag on TestType {
190-
b
191-
}
192183
`;
193184
return expect(await executeTestQuery(q)).to.deep.equal({
194185
data: { a: 'a', b: 'b' }
@@ -202,9 +193,6 @@ describe('Execute: handles directives', () => {
202193
b
203194
}
204195
}
205-
fragment Frag on TestType {
206-
b
207-
}
208196
`;
209197
return expect(await executeTestQuery(q)).to.deep.equal({
210198
data: { a: 'a' }

0 commit comments

Comments
 (0)