From b32ee4e66099a63b324b652e0aa8a8d1054dfb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20L=C3=BCtke?= Date: Sat, 9 May 2026 18:45:56 +0000 Subject: [PATCH] test: make CI fixture invocations portable --- test/cli.test.ts | 1 + test/esm-ambiguous-module.test.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cli.test.ts b/test/cli.test.ts index d239347..070113b 100644 --- a/test/cli.test.ts +++ b/test/cli.test.ts @@ -1438,6 +1438,7 @@ describe("mcp http daemon", () => { ...process.env, INDEX_PATH: daemonDbPath, QMD_CONFIG_DIR: daemonConfigDir, + PWD: fixturesDir, ...options.env, }, stdio: ["ignore", "pipe", "pipe"], diff --git a/test/esm-ambiguous-module.test.ts b/test/esm-ambiguous-module.test.ts index 80e61b7..d4602af 100644 --- a/test/esm-ambiguous-module.test.ts +++ b/test/esm-ambiguous-module.test.ts @@ -9,7 +9,7 @@ const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), ".."); describe("Node ESM entrypoints", () => { test("CLI --index path normalizes via setIndexName/setConfigIndexName under Node 22+", () => { - execFileSync("bun", ["run", "build"], { + execFileSync("npm", ["run", "build"], { cwd: repoRoot, encoding: "utf-8", stdio: "pipe",