@@ -250,17 +250,13 @@ describe('runInCI', () => {
250
250
expect ( utils . executeProcess ) . toHaveBeenCalledTimes ( 2 ) ;
251
251
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 1 , {
252
252
command : options . bin ,
253
- args : [
254
- 'print-config' ,
255
- '--verbose' ,
256
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
257
- ] ,
253
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
258
254
cwd : workDir ,
259
255
observer : expectedObserver ,
260
256
} satisfies utils . ProcessConfig ) ;
261
257
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 2 , {
262
258
command : options . bin ,
263
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
259
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
264
260
cwd : workDir ,
265
261
observer : expectedObserver ,
266
262
} satisfies utils . ProcessConfig ) ;
@@ -332,41 +328,32 @@ describe('runInCI', () => {
332
328
expect ( utils . executeProcess ) . toHaveBeenCalledTimes ( 5 ) ;
333
329
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 1 , {
334
330
command : options . bin ,
335
- args : [
336
- 'print-config' ,
337
- '--verbose' ,
338
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
339
- ] ,
331
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
340
332
cwd : workDir ,
341
333
observer : expectedObserver ,
342
334
} satisfies utils . ProcessConfig ) ;
343
335
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 2 , {
344
336
command : options . bin ,
345
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
337
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
346
338
cwd : workDir ,
347
339
observer : expectedObserver ,
348
340
} satisfies utils . ProcessConfig ) ;
349
341
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 3 , {
350
342
command : options . bin ,
351
- args : [
352
- 'print-config' ,
353
- '--verbose' ,
354
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
355
- ] ,
343
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
356
344
cwd : workDir ,
357
345
observer : expectedObserver ,
358
346
} satisfies utils . ProcessConfig ) ;
359
347
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 4 , {
360
348
command : options . bin ,
361
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
349
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
362
350
cwd : workDir ,
363
351
observer : expectedObserver ,
364
352
} satisfies utils . ProcessConfig ) ;
365
353
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 5 , {
366
354
command : options . bin ,
367
355
args : [
368
356
'compare' ,
369
- '--verbose' ,
370
357
`--before=${ path . join ( outputDir , '.previous/report.json' ) } ` ,
371
358
`--after=${ path . join ( outputDir , '.current/report.json' ) } ` ,
372
359
'--persist.format=json' ,
@@ -425,25 +412,20 @@ describe('runInCI', () => {
425
412
expect ( utils . executeProcess ) . toHaveBeenCalledTimes ( 3 ) ;
426
413
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 1 , {
427
414
command : options . bin ,
428
- args : [
429
- 'print-config' ,
430
- '--verbose' ,
431
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
432
- ] ,
415
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
433
416
cwd : workDir ,
434
417
observer : expectedObserver ,
435
418
} satisfies utils . ProcessConfig ) ;
436
419
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 2 , {
437
420
command : options . bin ,
438
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
421
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
439
422
cwd : workDir ,
440
423
observer : expectedObserver ,
441
424
} satisfies utils . ProcessConfig ) ;
442
425
expect ( utils . executeProcess ) . toHaveBeenNthCalledWith ( 3 , {
443
426
command : options . bin ,
444
427
args : [
445
428
'compare' ,
446
- '--verbose' ,
447
429
`--before=${ path . join ( outputDir , '.previous/report.json' ) } ` ,
448
430
`--after=${ path . join ( outputDir , '.current/report.json' ) } ` ,
449
431
'--persist.format=json' ,
@@ -617,17 +599,13 @@ describe('runInCI', () => {
617
599
) . toHaveLength ( 4 ) ; // 1 autorun for all projects, 3 print-configs for each project
618
600
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
619
601
command : run ,
620
- args : [
621
- 'print-config' ,
622
- '--verbose' ,
623
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
624
- ] ,
602
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
625
603
cwd : expect . stringContaining ( workDir ) ,
626
604
observer : expectedObserver ,
627
605
} satisfies utils . ProcessConfig ) ;
628
606
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
629
607
command : runMany ,
630
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
608
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
631
609
cwd : expect . stringContaining ( workDir ) ,
632
610
observer : expectedObserver ,
633
611
} satisfies utils . ProcessConfig ) ;
@@ -779,25 +757,20 @@ describe('runInCI', () => {
779
757
) . toHaveLength ( 10 ) ;
780
758
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
781
759
command : run ,
782
- args : [
783
- 'print-config' ,
784
- '--verbose' ,
785
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
786
- ] ,
760
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
787
761
cwd : expect . stringContaining ( workDir ) ,
788
762
observer : expectedObserver ,
789
763
} satisfies utils . ProcessConfig ) ;
790
764
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
791
765
command : runMany ,
792
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
766
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
793
767
cwd : expect . stringContaining ( workDir ) ,
794
768
observer : expectedObserver ,
795
769
} satisfies utils . ProcessConfig ) ;
796
770
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
797
771
command : run ,
798
772
args : [
799
773
'compare' ,
800
- '--verbose' ,
801
774
expect . stringMatching ( / ^ - - b e f o r e = .* \. p r e v i o u s [ / \\ ] r e p o r t \. j s o n $ / ) ,
802
775
expect . stringMatching ( / ^ - - a f t e r = .* \. c u r r e n t [ / \\ ] r e p o r t \. j s o n $ / ) ,
803
776
expect . stringMatching ( / ^ - - l a b e l = \w + $ / ) ,
@@ -811,7 +784,6 @@ describe('runInCI', () => {
811
784
command : run ,
812
785
args : [
813
786
'merge-diffs' ,
814
- '--verbose' ,
815
787
expect . stringMatching (
816
788
/ ^ - - f i l e s = .* [ / \\ ] c l i [ / \\ ] \. c o m p a r i s o n [ / \\ ] r e p o r t - d i f f \. j s o n $ / ,
817
789
) ,
@@ -973,17 +945,13 @@ describe('runInCI', () => {
973
945
) . toHaveLength ( 6 ) ; // 3 autoruns and 3 print-configs for each project
974
946
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
975
947
command : options . bin ,
976
- args : [
977
- 'print-config' ,
978
- '--verbose' ,
979
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
980
- ] ,
948
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
981
949
cwd : expect . stringContaining ( workDir ) ,
982
950
observer : expectedObserver ,
983
951
} satisfies utils . ProcessConfig ) ;
984
952
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
985
953
command : options . bin ,
986
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
954
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
987
955
cwd : expect . stringContaining ( workDir ) ,
988
956
observer : expectedObserver ,
989
957
} satisfies utils . ProcessConfig ) ;
@@ -1146,25 +1114,20 @@ describe('runInCI', () => {
1146
1114
) . toHaveLength ( 10 ) ;
1147
1115
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
1148
1116
command : options . bin ,
1149
- args : [
1150
- 'print-config' ,
1151
- '--verbose' ,
1152
- expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ,
1153
- ] ,
1117
+ args : [ 'print-config' , expect . stringMatching ( / ^ - - o u t p u t = .* \. j s o n $ / ) ] ,
1154
1118
cwd : expect . stringContaining ( workDir ) ,
1155
1119
observer : expectedObserver ,
1156
1120
} satisfies utils . ProcessConfig ) ;
1157
1121
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
1158
1122
command : options . bin ,
1159
- args : [ '--verbose' , '-- persist.format=json', '--persist.format=md' ] ,
1123
+ args : [ '--persist.format=json' , '--persist.format=md' ] ,
1160
1124
cwd : expect . stringContaining ( workDir ) ,
1161
1125
observer : expectedObserver ,
1162
1126
} satisfies utils . ProcessConfig ) ;
1163
1127
expect ( utils . executeProcess ) . toHaveBeenCalledWith ( {
1164
1128
command : options . bin ,
1165
1129
args : [
1166
1130
'compare' ,
1167
- '--verbose' ,
1168
1131
expect . stringMatching ( / ^ - - b e f o r e = .* \. p r e v i o u s [ / \\ ] r e p o r t \. j s o n $ / ) ,
1169
1132
expect . stringMatching ( / ^ - - a f t e r = .* \. c u r r e n t [ / \\ ] r e p o r t \. j s o n $ / ) ,
1170
1133
expect . stringMatching ( / ^ - - l a b e l = \w + $ / ) ,
@@ -1178,7 +1141,6 @@ describe('runInCI', () => {
1178
1141
command : options . bin ,
1179
1142
args : [
1180
1143
'merge-diffs' ,
1181
- '--verbose' ,
1182
1144
expect . stringMatching (
1183
1145
/ ^ - - f i l e s = .* a p i [ / \\ ] \. c o m p a r i s o n [ / \\ ] r e p o r t - d i f f \. j s o n $ / ,
1184
1146
) ,
0 commit comments