Skip to content

Commit 2dee261

Browse files
committed
feat(normalize): drop empty errors array
1 parent 8c1056a commit 2dee261

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/normalizeReport.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export function normalizeReport(report: FlakinessReport.Report): FlakinessReport
6868
duration: attempt.duration === 0 ? undefined : attempt.duration,
6969
stdout: attempt.stdout && attempt.stdout.length ? attempt.stdout : undefined,
7070
stderr: attempt.stderr && attempt.stderr.length ? attempt.stderr : undefined,
71+
errors: attempt.errors && attempt.errors.length ? attempt.errors : undefined,
7172
stdio: attempt.stdio && attempt.stdio.length ? attempt.stdio.map(entry => ({
7273
...entry,
7374
stream: entry.stream === FlakinessReport.STREAM_STDOUT ? undefined : entry.stream,

0 commit comments

Comments
 (0)