mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
test(cli): isolate unknown-command process validation (#115848)
This commit is contained in:
committed by
GitHub
parent
7bdd1f646b
commit
f20fc70cb4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user