From 959825c7c4fc92e5f0fb4581bcd8676ed87b0adf Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 26 Jul 2023 17:37:18 -0400 Subject: [PATCH] chore: fix tests on Node 18.17.0 (#9049) --- packages/svelte/test/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/test/helpers.js b/packages/svelte/test/helpers.js index 596086f986..b5ee539be8 100644 --- a/packages/svelte/test/helpers.js +++ b/packages/svelte/test/helpers.js @@ -100,7 +100,7 @@ export function show_output(cwd, options = {}) { }); } -const svelte_path = fileURLToPath(new URL('..', import.meta.url)).replace(/\\/g, '/'); +const svelte_path = fileURLToPath(new URL('..', import.meta.url).href).replace(/\\/g, '/'); const AsyncFunction = /** @type {typeof Function} */ (async function () {}.constructor);