test(sourcemap): consolidate source map regressions (#2034)

fix(sourcemap): retain named originals beside unknown source names

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
This commit is contained in:
hhang
2026-10-12 12:44:58 +08:00
committed by GitHub
co-authored by hhang
parent 783fcb06a4
commit 83a4445f44
2 changed files with 90 additions and 11 deletions
@@ -136,7 +136,6 @@ it.each([
["a non-array sourcesContent value", { sourcesContent: "source" }],
["a non-string, non-null source entry", { sourcesContent: [42] }],
["a source-content array with the wrong length", { sourcesContent: [] }],
["a non-string source name", { sources: [42] }],
])(
"reports %s as an invalid local source map",
async (_description, content) => {