Skip to content

Commit

Permalink
feat: hide test errors when there are none
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Nov 21, 2023
1 parent 269479e commit 0352802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/progressBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export class DeployProgress extends Progress {
private updateProgress(data: MetadataApiDeployStatus): void {
// the numCompTot. isn't computed right away, wait to start until we know how many we have
const testInfo = data.numberTestsTotal
? ` | ${data.numberTestsCompleted ?? 0}/${data.numberTestsTotal ?? 0} Tests (Errors:${data.numberTestErrors})`
? ` | ${data.numberTestsCompleted ?? 0}/${data.numberTestsTotal ?? 0} Tests${
data.numberTestErrors ? `(Errors:${data.numberTestErrors})` : ''
}`
: '';
const errorInfo = data.numberComponentErrors > 0 ? ` | Errors: ${data.numberComponentErrors}` : '';

Expand Down

0 comments on commit 0352802

Please sign in to comment.