test: harden plugin env-scoped fixtures

This commit is contained in:
Peter Steinberger
2026-03-13 03:01:03 +00:00
parent 08da1b47ba
commit 21fa50f564
5 changed files with 12 additions and 1 deletions

View File

@@ -41,7 +41,10 @@ describe("config plugin validation", () => {
const suiteEnv = () =>
({
...process.env,
HOME: suiteHome,
OPENCLAW_HOME: undefined,
OPENCLAW_STATE_DIR: path.join(suiteHome, ".openclaw"),
CLAWDBOT_STATE_DIR: undefined,
OPENCLAW_PLUGIN_MANIFEST_CACHE_MS: "10000",
}) satisfies NodeJS.ProcessEnv;