@@ -1330,11 +1330,11 @@ describe('Type System: Interface fields must have output types', () => {
13301330 expect ( validateSchema ( schema ) ) . to . deep . equal ( [
13311331 {
13321332 message :
1333- 'The type of BadInterface .badField must be Output Type but got: undefined.' ,
1333+ 'The type of BadImplementing .badField must be Output Type but got: undefined.' ,
13341334 } ,
13351335 {
13361336 message :
1337- 'The type of BadImplementing .badField must be Output Type but got: undefined.' ,
1337+ 'The type of BadInterface .badField must be Output Type but got: undefined.' ,
13381338 } ,
13391339 ] ) ;
13401340 } ) ;
@@ -1346,10 +1346,10 @@ describe('Type System: Interface fields must have output types', () => {
13461346 const schema = schemaWithInterfaceFieldOfType ( type ) ;
13471347 expect ( validateSchema ( schema ) ) . to . deep . equal ( [
13481348 {
1349- message : `The type of BadInterface .badField must be Output Type but got: ${ typeStr } .` ,
1349+ message : `The type of BadImplementing .badField must be Output Type but got: ${ typeStr } .` ,
13501350 } ,
13511351 {
1352- message : `The type of BadImplementing .badField must be Output Type but got: ${ typeStr } .` ,
1352+ message : `The type of BadInterface .badField must be Output Type but got: ${ typeStr } .` ,
13531353 } ,
13541354 ] ) ;
13551355 } ) ;
@@ -1361,14 +1361,14 @@ describe('Type System: Interface fields must have output types', () => {
13611361 expect ( validateSchema ( schema ) ) . to . deep . equal ( [
13621362 {
13631363 message :
1364- 'The type of BadInterface .badField must be Output Type but got: [function Number].' ,
1364+ 'The type of BadImplementing .badField must be Output Type but got: [function Number].' ,
13651365 } ,
13661366 {
1367- message : 'Expected GraphQL named type but got: [function Number].' ,
1367+ message :
1368+ 'The type of BadInterface.badField must be Output Type but got: [function Number].' ,
13681369 } ,
13691370 {
1370- message :
1371- 'The type of BadImplementing.badField must be Output Type but got: [function Number].' ,
1371+ message : 'Expected GraphQL named type but got: [function Number].' ,
13721372 } ,
13731373 ] ) ;
13741374 } ) ;
0 commit comments