fix(list reporter): add "return" back in

This commit is contained in:
Simon Knott 2024-07-16 18:38:50 +02:00
parent 2dacfec182
commit dc152ad614
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -117,6 +117,7 @@ class ListReporter extends BaseReporter {
if (!this._printSteps) {
if (isTTY)
this._updateLine(this._testRows.get(test)!, colors.dim(formatTestTitle(this.config, test, step.parent)) + this._retrySuffix(result), this._testPrefix(testIndex, ''));
return;
}
const index = this.getStepIndex(testIndex, result, step);