Skip to content

Commit

Permalink
test_runner: print tree correctly - Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarchini committed Sep 15, 2024
1 parent ff6ed50 commit d933e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/test_runner/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ function getCoverageReport(pad, summary, symbol, color, table) {
for (const key in tree) {
if (tree[key].file) {
const file = tree[key].file;
const fileName = ArrayPrototypePop(StringPrototypeSplit(file.path, '/'));
const fileName = ArrayPrototypePop(StringPrototypeSplit(file.path, sep));

let fileCoverage = 0;
const coverages = ArrayPrototypeMap(kColumnsKeys, (columnKey) => {
Expand Down

0 comments on commit d933e3f

Please sign in to comment.