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",