File tree 2 files changed +137
-111
lines changed 2 files changed +137
-111
lines changed Original file line number Diff line number Diff line change @@ -1174,9 +1174,6 @@ describe('Execute: stream directive', () => {
1174
1174
] ,
1175
1175
} ,
1176
1176
] ,
1177
- hasNext : true ,
1178
- } ,
1179
- {
1180
1177
hasNext : false ,
1181
1178
} ,
1182
1179
] ) ;
@@ -1200,25 +1197,19 @@ describe('Execute: stream directive', () => {
1200
1197
} /* c8 ignore stop */ ,
1201
1198
} ,
1202
1199
} ) ;
1203
- expectJSON ( result ) . toDeepEqual ( [
1204
- {
1205
- errors : [
1206
- {
1207
- message :
1208
- 'Cannot return null for non-nullable field NestedObject.nonNullScalarField.' ,
1209
- locations : [ { line : 4 , column : 11 } ] ,
1210
- path : [ 'nestedObject' , 'nonNullScalarField' ] ,
1211
- } ,
1212
- ] ,
1213
- data : {
1214
- nestedObject : null ,
1200
+ expectJSON ( result ) . toDeepEqual ( {
1201
+ errors : [
1202
+ {
1203
+ message :
1204
+ 'Cannot return null for non-nullable field NestedObject.nonNullScalarField.' ,
1205
+ locations : [ { line : 4 , column : 11 } ] ,
1206
+ path : [ 'nestedObject' , 'nonNullScalarField' ] ,
1215
1207
} ,
1216
- hasNext : true ,
1217
- } ,
1218
- {
1219
- hasNext : false ,
1208
+ ] ,
1209
+ data : {
1210
+ nestedObject : null ,
1220
1211
} ,
1221
- ] ) ;
1212
+ } ) ;
1222
1213
} ) ;
1223
1214
it ( 'Filters payloads that are nulled by a later synchronous error' , async ( ) => {
1224
1215
const document = parse ( `
@@ -1362,9 +1353,6 @@ describe('Execute: stream directive', () => {
1362
1353
] ,
1363
1354
} ,
1364
1355
] ,
1365
- hasNext : true ,
1366
- } ,
1367
- {
1368
1356
hasNext : false ,
1369
1357
} ,
1370
1358
] ) ;
You can’t perform that action at this time.
0 commit comments