diff --git a/src/cli/help-exit.process.test.ts b/src/cli/help-exit.process.test.ts index 0634b9801e1d..f2afdcc0b531 100644 --- a/src/cli/help-exit.process.test.ts +++ b/src/cli/help-exit.process.test.ts @@ -459,6 +459,9 @@ describe("JSON console style process output", () => { await runCliProcess({ args: ["openclaw-json-console-missing-command", modifier], config: loggingConfig, + // The fake command cannot belong to a bundled plugin. Avoid cold plugin + // discovery so this subprocess measures structured validation, not fleet load. + env: { OPENCLAW_DISABLE_BUNDLED_PLUGINS: "1" }, }); } catch (error) { failure = error as CliProcessFailure;