File tree Expand file tree Collapse file tree 2 files changed +137
-111
lines changed Expand file tree Collapse file tree 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', () => {
11741174 ] ,
11751175 } ,
11761176 ] ,
1177- hasNext : true ,
1178- } ,
1179- {
11801177 hasNext : false ,
11811178 } ,
11821179 ] ) ;
@@ -1200,25 +1197,19 @@ describe('Execute: stream directive', () => {
12001197 } /* c8 ignore stop */ ,
12011198 } ,
12021199 } ) ;
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' ] ,
12151207 } ,
1216- hasNext : true ,
1217- } ,
1218- {
1219- hasNext : false ,
1208+ ] ,
1209+ data : {
1210+ nestedObject : null ,
12201211 } ,
1221- ] ) ;
1212+ } ) ;
12221213 } ) ;
12231214 it ( 'Filters payloads that are nulled by a later synchronous error' , async ( ) => {
12241215 const document = parse ( `
@@ -1362,9 +1353,6 @@ describe('Execute: stream directive', () => {
13621353 ] ,
13631354 } ,
13641355 ] ,
1365- hasNext : true ,
1366- } ,
1367- {
13681356 hasNext : false ,
13691357 } ,
13701358 ] ) ;
You can’t perform that action at this time.
0 commit comments