Skip to content

Commit 5cfc796

Browse files
test: fix
1 parent 3d19561 commit 5cfc796

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/loader.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,9 @@ describe("loader", () => {
17571757
return {
17581758
type: item.type,
17591759
args: item.args.map((arg) =>
1760-
arg.replace(url.pathToFileURL(__dirname), "file:///<cwd>")
1760+
arg
1761+
.replace(url.pathToFileURL(__dirname), "file:///<cwd>")
1762+
.replace(/\\/g, "/")
17611763
),
17621764
};
17631765
})

0 commit comments

Comments
 (0)