fix(list reporter): print file name

This commit is contained in:
Simon Knott 2024-07-16 16:13:24 +02:00
parent 499d83ce32
commit a34f3b9270
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -112,7 +112,7 @@ class ListReporter extends BaseReporter {
} }
const index = this._stepIndex.get(step)!; const index = this._stepIndex.get(step)!;
const title = test.title + colors.dim(stepSuffix(step)); const title = isTTY ? test.title + colors.dim(stepSuffix(step)) : formatTestTitle(this.config, test, step);
const prefix = this._testPrefix(index, ''); const prefix = this._testPrefix(index, '');
let text = ''; let text = '';
if (step.error) if (step.error)