test(cli): isolate unknown-command process validation (#115848)

This commit is contained in:
Peter Steinberger
2026-07-29 06:49:55 -04:00
committed by GitHub
parent 7bdd1f646b
commit f20fc70cb4
+3
View File
@@ -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;