fix(html-reporter): duplicate attachment name (#16929)

Fixes #16456.

The extra span/name was coming from
077b8a9289/packages/html-reporter/src/links.tsx (L72)
(in conjunction with the line above it).

These two lines assume `path` and `body` are mutally exclusive.

Regression likely introduced by the PR that added the now removed line #10778.
This commit is contained in:
Ross Wollman 2022-09-03 18:25:56 -04:00 committed by GitHub
parent 4dc919fb71
commit c58bfd0552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -503,7 +503,6 @@ class HtmlBuilder {
name: a.name,
contentType: a.contentType,
path: 'data/' + sha1,
body: a.body,
};
}