Skip to content

Commit

Permalink
chore: fix tests on Node 18.17.0 (#9049)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry authored Jul 26, 2023
1 parent a71f359 commit 959825c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte/test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 959825c

Please sign in to comment.