From f08e36a1a09f34f14889b1cbcfb15ee96998d8c0 Mon Sep 17 00:00:00 2001 From: magic-akari Date: Sat, 19 Oct 2024 12:45:28 +0800 Subject: [PATCH] chore: Update test scripts --- crates/ruff_fmt/test_node/test-node.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_fmt/test_node/test-node.mjs b/crates/ruff_fmt/test_node/test-node.mjs index 333b5ff..30d579e 100644 --- a/crates/ruff_fmt/test_node/test-node.mjs +++ b/crates/ruff_fmt/test_node/test-node.mjs @@ -9,7 +9,7 @@ import init, { format } from "../pkg/ruff_fmt_node.js"; await init(); -const test_root = fileURLToPath(new URL("../test_data", import.meta.url)); +const test_root = fileURLToPath(import.meta.resolve("../test_data")); chdir(test_root); for await (const input_path of fs.glob("**/*.{py,pyi}")) {