@@ -165,11 +165,11 @@ describe('Type System: Objects', () => {
165
165
} ,
166
166
} ;
167
167
const testObject1 = new GraphQLObjectType ( {
168
- name : 'Test1 ' ,
168
+ name : 'Test ' ,
169
169
fields : outputFields ,
170
170
} ) ;
171
171
const testObject2 = new GraphQLObjectType ( {
172
- name : 'Test2 ' ,
172
+ name : 'Test ' ,
173
173
fields : outputFields ,
174
174
} ) ;
175
175
@@ -191,11 +191,11 @@ describe('Type System: Objects', () => {
191
191
field2 : { type : ScalarType } ,
192
192
} ;
193
193
const testInputObject1 = new GraphQLInputObjectType ( {
194
- name : 'Test1 ' ,
194
+ name : 'Test ' ,
195
195
fields : inputFields ,
196
196
} ) ;
197
197
const testInputObject2 = new GraphQLInputObjectType ( {
198
- name : 'Test2 ' ,
198
+ name : 'Test ' ,
199
199
fields : inputFields ,
200
200
} ) ;
201
201
@@ -243,6 +243,7 @@ describe('Type System: Objects', () => {
243
243
} ) ;
244
244
expect ( objType . getFields ( ) ) . to . deep . equal ( {
245
245
f : {
246
+ coordinate : 'SomeObject.f' ,
246
247
name : 'f' ,
247
248
description : undefined ,
248
249
type : ScalarType ,
@@ -270,11 +271,13 @@ describe('Type System: Objects', () => {
270
271
} ) ;
271
272
expect ( objType . getFields ( ) ) . to . deep . equal ( {
272
273
f : {
274
+ coordinate : 'SomeObject.f' ,
273
275
name : 'f' ,
274
276
description : undefined ,
275
277
type : ScalarType ,
276
278
args : [
277
279
{
280
+ coordinate : 'SomeObject.f(arg:)' ,
278
281
name : 'arg' ,
279
282
description : undefined ,
280
283
type : ScalarType ,
@@ -624,6 +627,7 @@ describe('Type System: Enums', () => {
624
627
625
628
expect ( EnumTypeWithNullishValue . getValues ( ) ) . to . deep . equal ( [
626
629
{
630
+ coordinate : 'EnumWithNullishValue.NULL' ,
627
631
name : 'NULL' ,
628
632
description : undefined ,
629
633
value : null ,
@@ -632,6 +636,7 @@ describe('Type System: Enums', () => {
632
636
astNode : undefined ,
633
637
} ,
634
638
{
639
+ coordinate : 'EnumWithNullishValue.NAN' ,
635
640
name : 'NAN' ,
636
641
description : undefined ,
637
642
value : NaN ,
@@ -640,6 +645,7 @@ describe('Type System: Enums', () => {
640
645
astNode : undefined ,
641
646
} ,
642
647
{
648
+ coordinate : 'EnumWithNullishValue.NO_CUSTOM_VALUE' ,
643
649
name : 'NO_CUSTOM_VALUE' ,
644
650
description : undefined ,
645
651
value : 'NO_CUSTOM_VALUE' ,
@@ -730,6 +736,7 @@ describe('Type System: Input Objects', () => {
730
736
} ) ;
731
737
expect ( inputObjType . getFields ( ) ) . to . deep . equal ( {
732
738
f : {
739
+ coordinate : 'SomeInputObject.f' ,
733
740
name : 'f' ,
734
741
description : undefined ,
735
742
type : ScalarType ,
@@ -750,6 +757,7 @@ describe('Type System: Input Objects', () => {
750
757
} ) ;
751
758
expect ( inputObjType . getFields ( ) ) . to . deep . equal ( {
752
759
f : {
760
+ coordinate : 'SomeInputObject.f' ,
753
761
name : 'f' ,
754
762
description : undefined ,
755
763
type : ScalarType ,
0 commit comments