when a step times out, there's no "step end" event for it

This commit is contained in:
Simon Knott 2024-12-30 14:20:53 +01:00
parent d277551177
commit c86ffbd19f
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -544,7 +544,7 @@ class TeleTestStep implements reporterTypes.TestStep {
}
get attachments() {
return this._endPayload!.attachments?.map(index => this.result.attachments[index]) ?? [];
return this._endPayload?.attachments?.map(index => this.result.attachments[index]) ?? [];
}
}