test: make CI fixture invocations portable
This commit is contained in:
parent
4505d8132e
commit
b32ee4e660
@ -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"],
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user