@@ -627,17 +627,15 @@ describe('Type System: Input Objects', () => {
627627 f : { type : ScalarType , defaultValue : 3 } ,
628628 } ,
629629 } ) ;
630- expect ( inputObjType . getFields ( ) ) . to . deep . equal ( {
631- f : {
632- coordinate : 'SomeInputObject.f' ,
633- name : 'f' ,
634- description : undefined ,
635- type : ScalarType ,
636- defaultValue : { value : 3 } ,
637- deprecationReason : undefined ,
638- extensions : undefined ,
639- astNode : undefined ,
640- } ,
630+ expect ( inputObjType . getFields ( ) . f ) . to . deep . include ( {
631+ coordinate : 'SomeInputObject.f' ,
632+ name : 'f' ,
633+ description : undefined ,
634+ type : ScalarType ,
635+ defaultValue : { value : 3 } ,
636+ deprecationReason : undefined ,
637+ extensions : { } ,
638+ astNode : undefined ,
641639 } ) ;
642640 } ) ;
643641
@@ -651,17 +649,15 @@ describe('Type System: Input Objects', () => {
651649 } ,
652650 } ,
653651 } ) ;
654- expect ( inputObjType . getFields ( ) ) . to . deep . equal ( {
655- f : {
656- coordinate : 'SomeInputObject.f' ,
657- name : 'f' ,
658- description : undefined ,
659- type : ScalarType ,
660- defaultValue : { literal : { kind : 'IntValue' , value : '3' } } ,
661- deprecationReason : undefined ,
662- extensions : undefined ,
663- astNode : undefined ,
664- } ,
652+ expect ( inputObjType . getFields ( ) . f ) . to . deep . include ( {
653+ coordinate : 'SomeInputObject.f' ,
654+ name : 'f' ,
655+ description : undefined ,
656+ type : ScalarType ,
657+ defaultValue : { literal : { kind : 'IntValue' , value : '3' } } ,
658+ deprecationReason : undefined ,
659+ extensions : { } ,
660+ astNode : undefined ,
665661 } ) ;
666662 } ) ;
667663
0 commit comments