Skip to content

Commit 959825c

Browse files
authored
chore: fix tests on Node 18.17.0 (#9049)
1 parent a71f359 commit 959825c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/svelte/test/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function show_output(cwd, options = {}) {
100100
});
101101
}
102102

103-
const svelte_path = fileURLToPath(new URL('..', import.meta.url)).replace(/\\/g, '/');
103+
const svelte_path = fileURLToPath(new URL('..', import.meta.url).href).replace(/\\/g, '/');
104104

105105
const AsyncFunction = /** @type {typeof Function} */ (async function () {}.constructor);
106106

0 commit comments

Comments
 (0)