Skip to content

Commit e1745ab

Browse files
committed
feat(ci): remove redundant --no-progress argument
1 parent 9d2bea9 commit e1745ab

File tree

2 files changed

+8
-49
lines changed

2 files changed

+8
-49
lines changed

packages/ci/src/lib/cli/commands/collect.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export async function runCollect({
1212
command: bin,
1313
args: [
1414
...(isVerbose() ? ['--verbose'] : []),
15-
'--no-progress',
1615
...(config ? [`--config=${config}`] : []),
1716
...DEFAULT_PERSIST_FORMAT.map(format => `--persist.format=${format}`),
1817
],

packages/ci/src/lib/run.int.test.ts

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,7 @@ describe('runInCI', () => {
260260
} satisfies utils.ProcessConfig);
261261
expect(utils.executeProcess).toHaveBeenNthCalledWith(2, {
262262
command: options.bin,
263-
args: [
264-
'--verbose',
265-
'--no-progress',
266-
'--persist.format=json',
267-
'--persist.format=md',
268-
],
263+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
269264
cwd: workDir,
270265
observer: expectedObserver,
271266
} satisfies utils.ProcessConfig);
@@ -347,12 +342,7 @@ describe('runInCI', () => {
347342
} satisfies utils.ProcessConfig);
348343
expect(utils.executeProcess).toHaveBeenNthCalledWith(2, {
349344
command: options.bin,
350-
args: [
351-
'--verbose',
352-
'--no-progress',
353-
'--persist.format=json',
354-
'--persist.format=md',
355-
],
345+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
356346
cwd: workDir,
357347
observer: expectedObserver,
358348
} satisfies utils.ProcessConfig);
@@ -368,12 +358,7 @@ describe('runInCI', () => {
368358
} satisfies utils.ProcessConfig);
369359
expect(utils.executeProcess).toHaveBeenNthCalledWith(4, {
370360
command: options.bin,
371-
args: [
372-
'--verbose',
373-
'--no-progress',
374-
'--persist.format=json',
375-
'--persist.format=md',
376-
],
361+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
377362
cwd: workDir,
378363
observer: expectedObserver,
379364
} satisfies utils.ProcessConfig);
@@ -450,12 +435,7 @@ describe('runInCI', () => {
450435
} satisfies utils.ProcessConfig);
451436
expect(utils.executeProcess).toHaveBeenNthCalledWith(2, {
452437
command: options.bin,
453-
args: [
454-
'--verbose',
455-
'--no-progress',
456-
'--persist.format=json',
457-
'--persist.format=md',
458-
],
438+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
459439
cwd: workDir,
460440
observer: expectedObserver,
461441
} satisfies utils.ProcessConfig);
@@ -647,12 +627,7 @@ describe('runInCI', () => {
647627
} satisfies utils.ProcessConfig);
648628
expect(utils.executeProcess).toHaveBeenCalledWith({
649629
command: runMany,
650-
args: [
651-
'--verbose',
652-
'--no-progress',
653-
'--persist.format=json',
654-
'--persist.format=md',
655-
],
630+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
656631
cwd: expect.stringContaining(workDir),
657632
observer: expectedObserver,
658633
} satisfies utils.ProcessConfig);
@@ -814,12 +789,7 @@ describe('runInCI', () => {
814789
} satisfies utils.ProcessConfig);
815790
expect(utils.executeProcess).toHaveBeenCalledWith({
816791
command: runMany,
817-
args: [
818-
'--verbose',
819-
'--no-progress',
820-
'--persist.format=json',
821-
'--persist.format=md',
822-
],
792+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
823793
cwd: expect.stringContaining(workDir),
824794
observer: expectedObserver,
825795
} satisfies utils.ProcessConfig);
@@ -1013,12 +983,7 @@ describe('runInCI', () => {
1013983
} satisfies utils.ProcessConfig);
1014984
expect(utils.executeProcess).toHaveBeenCalledWith({
1015985
command: options.bin,
1016-
args: [
1017-
'--verbose',
1018-
'--no-progress',
1019-
'--persist.format=json',
1020-
'--persist.format=md',
1021-
],
986+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
1022987
cwd: expect.stringContaining(workDir),
1023988
observer: expectedObserver,
1024989
} satisfies utils.ProcessConfig);
@@ -1191,12 +1156,7 @@ describe('runInCI', () => {
11911156
} satisfies utils.ProcessConfig);
11921157
expect(utils.executeProcess).toHaveBeenCalledWith({
11931158
command: options.bin,
1194-
args: [
1195-
'--verbose',
1196-
'--no-progress',
1197-
'--persist.format=json',
1198-
'--persist.format=md',
1199-
],
1159+
args: ['--verbose', '--persist.format=json', '--persist.format=md'],
12001160
cwd: expect.stringContaining(workDir),
12011161
observer: expectedObserver,
12021162
} satisfies utils.ProcessConfig);

0 commit comments

Comments
 (0)