@@ -79,7 +79,6 @@ describe('Schema Parser', () => {
79
79
80
80
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
81
81
kind : 'Document' ,
82
- comments : [ ] ,
83
82
definitions : [
84
83
{
85
84
kind : 'ObjectTypeDefinition' ,
@@ -177,7 +176,6 @@ describe('Schema Parser', () => {
177
176
178
177
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
179
178
kind : 'Document' ,
180
- comments : [ ] ,
181
179
definitions : [
182
180
{
183
181
kind : 'ObjectTypeExtension' ,
@@ -203,7 +201,6 @@ describe('Schema Parser', () => {
203
201
204
202
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
205
203
kind : 'Document' ,
206
- comments : [ ] ,
207
204
definitions : [
208
205
{
209
206
kind : 'ObjectTypeExtension' ,
@@ -222,7 +219,6 @@ describe('Schema Parser', () => {
222
219
const doc = parse ( 'extend interface Hello implements Greeting' ) ;
223
220
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
224
221
kind : 'Document' ,
225
- comments : [ ] ,
226
222
definitions : [
227
223
{
228
224
kind : 'InterfaceTypeExtension' ,
@@ -246,7 +242,6 @@ describe('Schema Parser', () => {
246
242
247
243
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
248
244
kind : 'Document' ,
249
- comments : [ ] ,
250
245
definitions : [
251
246
{
252
247
kind : 'ObjectTypeExtension' ,
@@ -309,7 +304,6 @@ describe('Schema Parser', () => {
309
304
` ) ;
310
305
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
311
306
kind : 'Document' ,
312
- comments : [ ] ,
313
307
definitions : [
314
308
{
315
309
kind : 'InterfaceTypeExtension' ,
@@ -382,7 +376,6 @@ describe('Schema Parser', () => {
382
376
const doc = parse ( body ) ;
383
377
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
384
378
kind : 'Document' ,
385
- comments : [ ] ,
386
379
definitions : [
387
380
{
388
381
kind : 'SchemaExtension' ,
@@ -407,7 +400,6 @@ describe('Schema Parser', () => {
407
400
const doc = parse ( body ) ;
408
401
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
409
402
kind : 'Document' ,
410
- comments : [ ] ,
411
403
definitions : [
412
404
{
413
405
kind : 'SchemaExtension' ,
@@ -450,7 +442,6 @@ describe('Schema Parser', () => {
450
442
451
443
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
452
444
kind : 'Document' ,
453
- comments : [ ] ,
454
445
definitions : [
455
446
{
456
447
kind : 'ObjectTypeDefinition' ,
@@ -480,7 +471,6 @@ describe('Schema Parser', () => {
480
471
const doc = parse ( 'interface Hello implements World { field: String }' ) ;
481
472
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
482
473
kind : 'Document' ,
483
- comments : [ ] ,
484
474
definitions : [
485
475
{
486
476
kind : 'InterfaceTypeDefinition' ,
@@ -507,7 +497,6 @@ describe('Schema Parser', () => {
507
497
508
498
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
509
499
kind : 'Document' ,
510
- comments : [ ] ,
511
500
definitions : [
512
501
{
513
502
kind : 'ObjectTypeDefinition' ,
@@ -534,7 +523,6 @@ describe('Schema Parser', () => {
534
523
535
524
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
536
525
kind : 'Document' ,
537
- comments : [ ] ,
538
526
definitions : [
539
527
{
540
528
kind : 'ObjectTypeDefinition' ,
@@ -563,7 +551,6 @@ describe('Schema Parser', () => {
563
551
const doc = parse ( 'interface Hello implements Wo & rld { field: String }' ) ;
564
552
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
565
553
kind : 'Document' ,
566
- comments : [ ] ,
567
554
definitions : [
568
555
{
569
556
kind : 'InterfaceTypeDefinition' ,
@@ -593,7 +580,6 @@ describe('Schema Parser', () => {
593
580
594
581
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
595
582
kind : 'Document' ,
596
- comments : [ ] ,
597
583
definitions : [
598
584
{
599
585
kind : 'ObjectTypeDefinition' ,
@@ -624,7 +610,6 @@ describe('Schema Parser', () => {
624
610
) ;
625
611
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
626
612
kind : 'Document' ,
627
- comments : [ ] ,
628
613
definitions : [
629
614
{
630
615
kind : 'InterfaceTypeDefinition' ,
@@ -654,7 +639,6 @@ describe('Schema Parser', () => {
654
639
655
640
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
656
641
kind : 'Document' ,
657
- comments : [ ] ,
658
642
definitions : [
659
643
{
660
644
kind : 'EnumTypeDefinition' ,
@@ -674,7 +658,6 @@ describe('Schema Parser', () => {
674
658
675
659
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
676
660
kind : 'Document' ,
677
- comments : [ ] ,
678
661
definitions : [
679
662
{
680
663
kind : 'EnumTypeDefinition' ,
@@ -701,7 +684,6 @@ describe('Schema Parser', () => {
701
684
702
685
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
703
686
kind : 'Document' ,
704
- comments : [ ] ,
705
687
definitions : [
706
688
{
707
689
kind : 'InterfaceTypeDefinition' ,
@@ -732,7 +714,6 @@ describe('Schema Parser', () => {
732
714
733
715
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
734
716
kind : 'Document' ,
735
- comments : [ ] ,
736
717
definitions : [
737
718
{
738
719
kind : 'ObjectTypeDefinition' ,
@@ -771,7 +752,6 @@ describe('Schema Parser', () => {
771
752
772
753
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
773
754
kind : 'Document' ,
774
- comments : [ ] ,
775
755
definitions : [
776
756
{
777
757
kind : 'ObjectTypeDefinition' ,
@@ -814,7 +794,6 @@ describe('Schema Parser', () => {
814
794
815
795
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
816
796
kind : 'Document' ,
817
- comments : [ ] ,
818
797
definitions : [
819
798
{
820
799
kind : 'ObjectTypeDefinition' ,
@@ -857,7 +836,6 @@ describe('Schema Parser', () => {
857
836
858
837
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
859
838
kind : 'Document' ,
860
- comments : [ ] ,
861
839
definitions : [
862
840
{
863
841
kind : 'ObjectTypeDefinition' ,
@@ -898,7 +876,6 @@ describe('Schema Parser', () => {
898
876
899
877
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
900
878
kind : 'Document' ,
901
- comments : [ ] ,
902
879
definitions : [
903
880
{
904
881
kind : 'UnionTypeDefinition' ,
@@ -918,7 +895,6 @@ describe('Schema Parser', () => {
918
895
919
896
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
920
897
kind : 'Document' ,
921
- comments : [ ] ,
922
898
definitions : [
923
899
{
924
900
kind : 'UnionTypeDefinition' ,
@@ -941,7 +917,6 @@ describe('Schema Parser', () => {
941
917
942
918
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
943
919
kind : 'Document' ,
944
- comments : [ ] ,
945
920
definitions : [
946
921
{
947
922
kind : 'UnionTypeDefinition' ,
@@ -992,7 +967,6 @@ describe('Schema Parser', () => {
992
967
993
968
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
994
969
kind : 'Document' ,
995
- comments : [ ] ,
996
970
definitions : [
997
971
{
998
972
kind : 'ScalarTypeDefinition' ,
@@ -1014,7 +988,6 @@ input Hello {
1014
988
1015
989
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
1016
990
kind : 'Document' ,
1017
- comments : [ ] ,
1018
991
definitions : [
1019
992
{
1020
993
kind : 'InputObjectTypeDefinition' ,
@@ -1053,7 +1026,6 @@ input Hello {
1053
1026
1054
1027
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
1055
1028
kind : 'Document' ,
1056
- comments : [ ] ,
1057
1029
definitions : [
1058
1030
{
1059
1031
kind : 'DirectiveDefinition' ,
@@ -1090,7 +1062,6 @@ input Hello {
1090
1062
1091
1063
expect ( toJSONDeep ( doc ) ) . to . deep . equal ( {
1092
1064
kind : 'Document' ,
1093
- comments : [ ] ,
1094
1065
definitions : [
1095
1066
{
1096
1067
kind : 'DirectiveDefinition' ,
0 commit comments