test_runner: use paths for test locations · nodejs/node@be587e3 · GitHub
Skip to content

Commit be587e3

Browse files
cjihrigmarco-ippolito
authored andcommitted
test_runner: use paths for test locations
This commit transforms test locations to paths when V8 provides file URLs (which seems to be for ESM files). Fixes: #51610 PR-URL: #52010 Backport-PR-URL: #52872 Fixes: #51392 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 743281a commit be587e3

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

lib/internal/test_runner/test.js

Lines changed: 6 additions & 0 deletions

test/fixtures/test-runner/output/source_mapped_locations.snapshot

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)