diff --git a/src/reporter/describers/SuiteDescribers.ts b/src/reporter/describers/SuiteDescribers.ts index 3d52609..61771e5 100644 --- a/src/reporter/describers/SuiteDescribers.ts +++ b/src/reporter/describers/SuiteDescribers.ts @@ -30,7 +30,7 @@ export class ShortSuiteDescriber extends SuiteDescriber { if (this.item.outcome === Outcome.error) { report.push(''); - report.push(' '.repeat(2) + red(this.item.clarification.toString())); + report.push(' '.repeat(2) + red(this.item.clarification?.toString() ?? '')); } return report; }