@@ -231,7 +231,7 @@ describe('Execute: Handles inputs', () => {
231
231
expect ( caughtError ) . to . containSubset ( {
232
232
locations : [ { line : 2 , column : 17 } ] ,
233
233
message :
234
- 'Variable $input expected value of type TestInputObject but ' +
234
+ 'Variable " $input" expected value of type " TestInputObject" but ' +
235
235
'got: {"a":"foo","b":"bar","c":null}.'
236
236
} ) ;
237
237
} ) ;
@@ -249,7 +249,7 @@ describe('Execute: Handles inputs', () => {
249
249
expect ( caughtError ) . to . containSubset ( {
250
250
locations : [ { line : 2 , column : 17 } ] ,
251
251
message :
252
- 'Variable $input expected value of type TestInputObject but ' +
252
+ 'Variable " $input" expected value of type " TestInputObject" but ' +
253
253
'got: "foo bar".'
254
254
} ) ;
255
255
} ) ;
@@ -267,7 +267,7 @@ describe('Execute: Handles inputs', () => {
267
267
expect ( caughtError ) . to . containSubset ( {
268
268
locations : [ { line : 2 , column : 17 } ] ,
269
269
message :
270
- 'Variable $input expected value of type TestInputObject but ' +
270
+ 'Variable " $input" expected value of type " TestInputObject" but ' +
271
271
'got: {"a":"foo","b":"bar"}.'
272
272
} ) ;
273
273
} ) ;
@@ -285,7 +285,7 @@ describe('Execute: Handles inputs', () => {
285
285
expect ( caughtError ) . to . containSubset ( {
286
286
locations : [ { line : 2 , column : 17 } ] ,
287
287
message :
288
- 'Variable $input expected value of type TestInputObject but ' +
288
+ 'Variable " $input" expected value of type " TestInputObject" but ' +
289
289
'got: {"a":"foo","b":"bar","c":"baz","d":"dog"}.'
290
290
} ) ;
291
291
} ) ;
@@ -407,7 +407,7 @@ describe('Execute: Handles inputs', () => {
407
407
expect ( caughtError ) . to . containSubset ( {
408
408
locations : [ { line : 2 , column : 31 } ] ,
409
409
message :
410
- 'Variable $value expected value of type String! but got: undefined .'
410
+ 'Variable " $value" of required type " String!" was not provided .'
411
411
} ) ;
412
412
} ) ;
413
413
@@ -429,7 +429,7 @@ describe('Execute: Handles inputs', () => {
429
429
expect ( caughtError ) . to . containSubset ( {
430
430
locations : [ { line : 2 , column : 31 } ] ,
431
431
message :
432
- 'Variable $value expected value of type String! but got: null .'
432
+ 'Variable " $value" of required type " String!" was not provided .'
433
433
} ) ;
434
434
} ) ;
435
435
@@ -551,7 +551,7 @@ describe('Execute: Handles inputs', () => {
551
551
expect ( caughtError ) . to . containSubset ( {
552
552
locations : [ { line : 2 , column : 17 } ] ,
553
553
message :
554
- 'Variable $input expected value of type [String]! but got: null .'
554
+ 'Variable " $input" of required type " [String]!" was not provided .'
555
555
} ) ;
556
556
} ) ;
557
557
@@ -642,7 +642,7 @@ describe('Execute: Handles inputs', () => {
642
642
expect ( caughtError ) . to . containSubset ( {
643
643
locations : [ { line : 2 , column : 17 } ] ,
644
644
message :
645
- 'Variable $input expected value of type [String!] but got: ' +
645
+ 'Variable " $input" expected value of type " [String!]" but got: ' +
646
646
'["A",null,"B"].'
647
647
} ) ;
648
648
} ) ;
@@ -665,7 +665,7 @@ describe('Execute: Handles inputs', () => {
665
665
expect ( caughtError ) . to . containSubset ( {
666
666
locations : [ { line : 2 , column : 17 } ] ,
667
667
message :
668
- 'Variable $input expected value of type [String!]! but got: null .'
668
+ 'Variable " $input" of required type " [String!]!" was not provided .'
669
669
} ) ;
670
670
} ) ;
671
671
@@ -705,7 +705,7 @@ describe('Execute: Handles inputs', () => {
705
705
expect ( caughtError ) . to . containSubset ( {
706
706
locations : [ { line : 2 , column : 17 } ] ,
707
707
message :
708
- 'Variable $input expected value of type [String!]! but got: ' +
708
+ 'Variable " $input" expected value of type " [String!]!" but got: ' +
709
709
'["A",null,"B"].'
710
710
} ) ;
711
711
} ) ;
@@ -729,7 +729,7 @@ describe('Execute: Handles inputs', () => {
729
729
expect ( caughtError ) . to . containSubset ( {
730
730
locations : [ { line : 2 , column : 17 } ] ,
731
731
message :
732
- 'Variable $input expected value of type TestType! which cannot ' +
732
+ 'Variable " $input" expected value of type " TestType!" which cannot ' +
733
733
'be used as an input type.'
734
734
} ) ;
735
735
} ) ;
@@ -753,8 +753,8 @@ describe('Execute: Handles inputs', () => {
753
753
expect ( caughtError ) . to . containSubset ( {
754
754
locations : [ { line : 2 , column : 17 } ] ,
755
755
message :
756
- 'Variable $input expected value of type UnknownType! which cannot ' +
757
- 'be used as an input type.'
756
+ 'Variable " $input" expected value of type " UnknownType!" which ' +
757
+ 'cannot be used as an input type.'
758
758
} ) ;
759
759
} ) ;
760
760
0 commit comments