@@ -22,7 +22,6 @@ test('estree-util-build-jsx', (t) => {
22
22
computed : false ,
23
23
optional : false
24
24
} ,
25
- // @ts -expect-error: TS is wrong.
26
25
arguments : [
27
26
{
28
27
type : 'MemberExpression' ,
@@ -41,7 +40,6 @@ test('estree-util-build-jsx', (t) => {
41
40
computed : false ,
42
41
optional : false
43
42
} ,
44
- // @ts -expect-error: TS is wrong.
45
43
arguments : [ { type : 'Literal' , value : 'x' } ] ,
46
44
optional : false
47
45
}
@@ -56,14 +54,12 @@ test('estree-util-build-jsx', (t) => {
56
54
{
57
55
type : 'CallExpression' ,
58
56
callee : { type : 'Identifier' , name : 'a' } ,
59
- // @ts -expect-error: TS is wrong.
60
57
arguments : [
61
58
{ type : 'Identifier' , name : 'b' } ,
62
59
{ type : 'Literal' , value : null } ,
63
60
{
64
61
type : 'CallExpression' ,
65
62
callee : { type : 'Identifier' , name : 'a' } ,
66
- // @ts -expect-error: TS is wrong.
67
63
arguments : [ { type : 'Literal' , value : 'x' } ] ,
68
64
optional : false
69
65
}
@@ -84,7 +80,6 @@ test('estree-util-build-jsx', (t) => {
84
80
computed : true ,
85
81
optional : false
86
82
} ,
87
- // @ts -expect-error: TS is wrong.
88
83
arguments : [ { type : 'Literal' , value : 'x' } ] ,
89
84
optional : false
90
85
} ,
@@ -102,14 +97,12 @@ test('estree-util-build-jsx', (t) => {
102
97
{
103
98
type : 'CallExpression' ,
104
99
callee : { type : 'Identifier' , name : 'a' } ,
105
- // @ts -expect-error: TS is wrong.
106
100
arguments : [
107
101
{ type : 'Identifier' , name : 'b' } ,
108
102
{ type : 'Literal' , value : null } ,
109
103
{
110
104
type : 'CallExpression' ,
111
105
callee : { type : 'Identifier' , name : 'a' } ,
112
- // @ts -expect-error: TS is wrong.
113
106
arguments : [ { type : 'Literal' , value : 'x' } ] ,
114
107
optional : false
115
108
}
@@ -162,7 +155,6 @@ test('estree-util-build-jsx', (t) => {
162
155
computed : false ,
163
156
optional : false
164
157
} ,
165
- // @ts -expect-error: TS is wrong.
166
158
arguments : [
167
159
{
168
160
type : 'MemberExpression' ,
@@ -181,7 +173,6 @@ test('estree-util-build-jsx', (t) => {
181
173
computed : false ,
182
174
optional : false
183
175
} ,
184
- // @ts -expect-error: TS is wrong.
185
176
arguments : [ { type : 'Literal' , value : 'x' } ] ,
186
177
optional : false
187
178
}
@@ -196,7 +187,6 @@ test('estree-util-build-jsx', (t) => {
196
187
{
197
188
type : 'CallExpression' ,
198
189
callee : { type : 'Identifier' , name : 'h' } ,
199
- // @ts -expect-error: TS is wrong.
200
190
arguments : [ { type : 'Literal' , value : 'a' } ] ,
201
191
optional : false
202
192
} ,
@@ -208,7 +198,6 @@ test('estree-util-build-jsx', (t) => {
208
198
{
209
199
type : 'CallExpression' ,
210
200
callee : { type : 'Identifier' , name : 'h' } ,
211
- // @ts -expect-error: TS is wrong.
212
201
arguments : [
213
202
{ type : 'Literal' , value : 'a' } ,
214
203
{ type : 'Literal' , value : null } ,
@@ -224,7 +213,6 @@ test('estree-util-build-jsx', (t) => {
224
213
{
225
214
type : 'CallExpression' ,
226
215
callee : { type : 'Identifier' , name : 'h' } ,
227
- // @ts -expect-error: TS is wrong.
228
216
arguments : [
229
217
{
230
218
type : 'MemberExpression' ,
@@ -244,7 +232,6 @@ test('estree-util-build-jsx', (t) => {
244
232
{
245
233
type : 'CallExpression' ,
246
234
callee : { type : 'Identifier' , name : 'h' } ,
247
- // @ts -expect-error: TS is wrong.
248
235
arguments : [
249
236
{
250
237
type : 'MemberExpression' ,
@@ -270,7 +257,6 @@ test('estree-util-build-jsx', (t) => {
270
257
{
271
258
type : 'CallExpression' ,
272
259
callee : { type : 'Identifier' , name : 'h' } ,
273
- // @ts -expect-error: TS is wrong.
274
260
arguments : [
275
261
{
276
262
type : 'MemberExpression' ,
@@ -296,7 +282,6 @@ test('estree-util-build-jsx', (t) => {
296
282
{
297
283
type : 'CallExpression' ,
298
284
callee : { type : 'Identifier' , name : 'h' } ,
299
- // @ts -expect-error: TS is wrong.
300
285
arguments : [
301
286
{
302
287
type : 'MemberExpression' ,
@@ -328,7 +313,6 @@ test('estree-util-build-jsx', (t) => {
328
313
{
329
314
type : 'CallExpression' ,
330
315
callee : { type : 'Identifier' , name : 'h' } ,
331
- // @ts -expect-error: TS is wrong.
332
316
arguments : [ { type : 'Literal' , value : 'a:b' } ] ,
333
317
optional : false
334
318
} ,
@@ -340,7 +324,6 @@ test('estree-util-build-jsx', (t) => {
340
324
{
341
325
type : 'CallExpression' ,
342
326
callee : { type : 'Identifier' , name : 'h' } ,
343
- // @ts -expect-error: TS is wrong.
344
327
arguments : [ { type : 'Literal' , value : 'a-b' } ] ,
345
328
optional : false
346
329
} ,
@@ -352,7 +335,6 @@ test('estree-util-build-jsx', (t) => {
352
335
{
353
336
type : 'CallExpression' ,
354
337
callee : { type : 'Identifier' , name : 'h' } ,
355
- // @ts -expect-error: TS is wrong.
356
338
arguments : [ { type : 'Identifier' , name : 'A' } ] ,
357
339
optional : false
358
340
} ,
@@ -364,7 +346,6 @@ test('estree-util-build-jsx', (t) => {
364
346
{
365
347
type : 'CallExpression' ,
366
348
callee : { type : 'Identifier' , name : 'h' } ,
367
- // @ts -expect-error: TS is wrong.
368
349
arguments : [
369
350
{ type : 'Literal' , value : 'a' } ,
370
351
{
@@ -392,7 +373,6 @@ test('estree-util-build-jsx', (t) => {
392
373
{
393
374
type : 'CallExpression' ,
394
375
callee : { type : 'Identifier' , name : 'h' } ,
395
- // @ts -expect-error: TS is wrong.
396
376
arguments : [
397
377
{ type : 'Literal' , value : 'a' } ,
398
378
{
@@ -420,7 +400,6 @@ test('estree-util-build-jsx', (t) => {
420
400
{
421
401
type : 'CallExpression' ,
422
402
callee : { type : 'Identifier' , name : 'h' } ,
423
- // @ts -expect-error: TS is wrong.
424
403
arguments : [
425
404
{ type : 'Literal' , value : 'a' } ,
426
405
{
@@ -448,7 +427,6 @@ test('estree-util-build-jsx', (t) => {
448
427
{
449
428
type : 'CallExpression' ,
450
429
callee : { type : 'Identifier' , name : 'h' } ,
451
- // @ts -expect-error: TS is wrong.
452
430
arguments : [
453
431
{ type : 'Literal' , value : 'a' } ,
454
432
{
@@ -476,7 +454,6 @@ test('estree-util-build-jsx', (t) => {
476
454
{
477
455
type : 'CallExpression' ,
478
456
callee : { type : 'Identifier' , name : 'h' } ,
479
- // @ts -expect-error: TS is wrong.
480
457
arguments : [
481
458
{ type : 'Literal' , value : 'a' } ,
482
459
{
@@ -504,7 +481,6 @@ test('estree-util-build-jsx', (t) => {
504
481
{
505
482
type : 'CallExpression' ,
506
483
callee : { type : 'Identifier' , name : 'h' } ,
507
- // @ts -expect-error: TS is wrong.
508
484
arguments : [
509
485
{ type : 'Literal' , value : 'a' } ,
510
486
{
@@ -534,7 +510,6 @@ test('estree-util-build-jsx', (t) => {
534
510
{
535
511
type : 'CallExpression' ,
536
512
callee : { type : 'Identifier' , name : 'h' } ,
537
- // @ts -expect-error: TS is wrong.
538
513
arguments : [
539
514
{ type : 'Literal' , value : 'a' } ,
540
515
{
@@ -546,7 +521,6 @@ test('estree-util-build-jsx', (t) => {
546
521
value : {
547
522
type : 'CallExpression' ,
548
523
callee : { type : 'Identifier' , name : 'h' } ,
549
- // @ts -expect-error: TS is wrong.
550
524
arguments : [
551
525
{ type : 'Identifier' , name : 'f' } ,
552
526
{ type : 'Literal' , value : null } ,
@@ -572,7 +546,6 @@ test('estree-util-build-jsx', (t) => {
572
546
{
573
547
type : 'CallExpression' ,
574
548
callee : { type : 'Identifier' , name : 'h' } ,
575
- // @ts -expect-error: TS is wrong.
576
549
arguments : [
577
550
{ type : 'Literal' , value : 'a' } ,
578
551
{
@@ -584,7 +557,6 @@ test('estree-util-build-jsx', (t) => {
584
557
value : {
585
558
type : 'CallExpression' ,
586
559
callee : { type : 'Identifier' , name : 'h' } ,
587
- // @ts -expect-error: TS is wrong.
588
560
arguments : [ { type : 'Literal' , value : 'c' } ] ,
589
561
optional : false
590
562
} ,
@@ -606,7 +578,6 @@ test('estree-util-build-jsx', (t) => {
606
578
{
607
579
type : 'CallExpression' ,
608
580
callee : { type : 'Identifier' , name : 'h' } ,
609
- // @ts -expect-error: TS is wrong.
610
581
arguments : [
611
582
{ type : 'Literal' , value : 'a' } ,
612
583
{ type : 'Identifier' , name : 'b' }
@@ -621,7 +592,6 @@ test('estree-util-build-jsx', (t) => {
621
592
{
622
593
type : 'CallExpression' ,
623
594
callee : { type : 'Identifier' , name : 'h' } ,
624
- // @ts -expect-error: TS is wrong.
625
595
arguments : [
626
596
{ type : 'Literal' , value : 'a' } ,
627
597
{
@@ -633,7 +603,6 @@ test('estree-util-build-jsx', (t) => {
633
603
computed : false ,
634
604
optional : false
635
605
} ,
636
- // @ts -expect-error: TS is wrong.
637
606
arguments : [
638
607
{ type : 'ObjectExpression' , properties : [ ] } ,
639
608
{ type : 'Identifier' , name : 'b' } ,
@@ -665,7 +634,6 @@ test('estree-util-build-jsx', (t) => {
665
634
{
666
635
type : 'CallExpression' ,
667
636
callee : { type : 'Identifier' , name : 'h' } ,
668
- // @ts -expect-error: TS is wrong.
669
637
arguments : [
670
638
{ type : 'Literal' , value : 'a' } ,
671
639
{
@@ -677,7 +645,6 @@ test('estree-util-build-jsx', (t) => {
677
645
computed : false ,
678
646
optional : false
679
647
} ,
680
- // @ts -expect-error: TS is wrong.
681
648
arguments : [
682
649
{
683
650
type : 'ObjectExpression' ,
@@ -708,7 +675,6 @@ test('estree-util-build-jsx', (t) => {
708
675
{
709
676
type : 'CallExpression' ,
710
677
callee : { type : 'Identifier' , name : 'h' } ,
711
- // @ts -expect-error: TS is wrong.
712
678
arguments : [
713
679
{ type : 'Literal' , value : 'a' } ,
714
680
{
@@ -720,7 +686,6 @@ test('estree-util-build-jsx', (t) => {
720
686
computed : false ,
721
687
optional : false
722
688
} ,
723
- // @ts -expect-error: TS is wrong.
724
689
arguments : [
725
690
{ type : 'ObjectExpression' , properties : [ ] } ,
726
691
{ type : 'Identifier' , name : 'b' } ,
@@ -739,7 +704,6 @@ test('estree-util-build-jsx', (t) => {
739
704
{
740
705
type : 'CallExpression' ,
741
706
callee : { type : 'Identifier' , name : 'h' } ,
742
- // @ts -expect-error: TS is wrong.
743
707
arguments : [
744
708
{ type : 'Literal' , value : 'a' } ,
745
709
{
@@ -777,7 +741,6 @@ test('estree-util-build-jsx', (t) => {
777
741
{
778
742
type : 'CallExpression' ,
779
743
callee : { type : 'Identifier' , name : 'h' } ,
780
- // @ts -expect-error: TS is wrong.
781
744
arguments : [
782
745
{ type : 'Literal' , value : 'a' } ,
783
746
{ type : 'Literal' , value : null } ,
@@ -793,7 +756,6 @@ test('estree-util-build-jsx', (t) => {
793
756
{
794
757
type : 'CallExpression' ,
795
758
callee : { type : 'Identifier' , name : 'h' } ,
796
- // @ts -expect-error: TS is wrong.
797
759
arguments : [ { type : 'Literal' , value : 'a' } ] ,
798
760
optional : false
799
761
} ,
@@ -805,7 +767,6 @@ test('estree-util-build-jsx', (t) => {
805
767
{
806
768
type : 'CallExpression' ,
807
769
callee : { type : 'Identifier' , name : 'h' } ,
808
- // @ts -expect-error: TS is wrong.
809
770
arguments : [
810
771
{ type : 'Literal' , value : 'a' } ,
811
772
{ type : 'Literal' , value : null } ,
@@ -821,7 +782,6 @@ test('estree-util-build-jsx', (t) => {
821
782
{
822
783
type : 'CallExpression' ,
823
784
callee : { type : 'Identifier' , name : 'h' } ,
824
- // @ts -expect-error: TS is wrong.
825
785
arguments : [
826
786
{ type : 'Literal' , value : 'a' } ,
827
787
{ type : 'Literal' , value : null } ,
@@ -837,7 +797,6 @@ test('estree-util-build-jsx', (t) => {
837
797
{
838
798
type : 'CallExpression' ,
839
799
callee : { type : 'Identifier' , name : 'h' } ,
840
- // @ts -expect-error: TS is wrong.
841
800
arguments : [
842
801
{ type : 'Literal' , value : 'a' } ,
843
802
{ type : 'Literal' , value : null } ,
@@ -853,7 +812,6 @@ test('estree-util-build-jsx', (t) => {
853
812
{
854
813
type : 'CallExpression' ,
855
814
callee : { type : 'Identifier' , name : 'h' } ,
856
- // @ts -expect-error: TS is wrong.
857
815
arguments : [
858
816
{ type : 'Literal' , value : 'a' } ,
859
817
{ type : 'Literal' , value : null } ,
@@ -869,7 +827,6 @@ test('estree-util-build-jsx', (t) => {
869
827
{
870
828
type : 'CallExpression' ,
871
829
callee : { type : 'Identifier' , name : 'h' } ,
872
- // @ts -expect-error: TS is wrong.
873
830
arguments : [
874
831
{ type : 'Literal' , value : 'a' } ,
875
832
{ type : 'Literal' , value : null } ,
@@ -885,7 +842,6 @@ test('estree-util-build-jsx', (t) => {
885
842
{
886
843
type : 'CallExpression' ,
887
844
callee : { type : 'Identifier' , name : 'h' } ,
888
- // @ts -expect-error: TS is wrong.
889
845
arguments : [ { type : 'Literal' , value : 'a' } ] ,
890
846
optional : false
891
847
} ,
@@ -949,7 +905,6 @@ test('estree-util-build-jsx', (t) => {
949
905
computed : false ,
950
906
optional : false
951
907
} ,
952
- // @ts -expect-error: TS is wrong.
953
908
arguments : [
954
909
{
955
910
type : 'MemberExpression' ,
@@ -968,7 +923,6 @@ test('estree-util-build-jsx', (t) => {
968
923
computed : false ,
969
924
optional : false
970
925
} ,
971
- // @ts -expect-error: TS is wrong.
972
926
arguments : [
973
927
{
974
928
type : 'Literal' ,
@@ -990,7 +944,6 @@ test('estree-util-build-jsx', (t) => {
990
944
computed : false ,
991
945
optional : false
992
946
} ,
993
- // @ts -expect-error: TS is wrong.
994
947
arguments : [
995
948
{
996
949
type : 'ObjectExpression' ,
@@ -1158,7 +1111,6 @@ test('estree-util-build-jsx', (t) => {
1158
1111
computed : false ,
1159
1112
optional : false
1160
1113
} ,
1161
- // @ts -expect-error: TS is wrong.
1162
1114
arguments : [
1163
1115
{
1164
1116
type : 'MemberExpression' ,
@@ -1177,7 +1129,6 @@ test('estree-util-build-jsx', (t) => {
1177
1129
computed : false ,
1178
1130
optional : false
1179
1131
} ,
1180
- // @ts -expect-error: TS is wrong.
1181
1132
arguments : [ { type : 'Literal' , value : 'x' } ] ,
1182
1133
optional : false
1183
1134
}
0 commit comments