diff --git a/tests/boundary/providers/ghidra/ghidraLauncher.test.ts b/tests/boundary/providers/ghidra/ghidraLauncher.test.ts index 4bb04d783..87850070d 100644 --- a/tests/boundary/providers/ghidra/ghidraLauncher.test.ts +++ b/tests/boundary/providers/ghidra/ghidraLauncher.test.ts @@ -214,7 +214,8 @@ describe("Ghidra headless launcher", () => { const token = "secret-token-that-must-not-leak"; const javaHome = "C:\\Java\\jdk-21"; const launcher = new GhidraHeadlessLauncher({ - environment: {}, + // Select the fixture's Node PATH and injected JVM options explicitly. + environment: process.env, analyzeHeadlessPath: fixturePath, // POSIX follows the real inspected-JVM route; Windows uses the official // batch script because its launcher contract differs.