test: trim qmd manager fixture setup

This commit is contained in:
Peter Steinberger
2026-04-06 22:49:10 +01:00
parent 528868ef76
commit e44a995e83

View File

@@ -207,10 +207,9 @@ describe("QmdMemoryManager", () => {
tmpRoot = path.join(fixtureRoot, `case-${fixtureCount++}`);
workspaceDir = path.join(tmpRoot, "workspace");
stateDir = path.join(tmpRoot, "state");
await fs.mkdir(tmpRoot);
// Only workspace must exist for configured collection paths; state paths are
// created lazily by manager code when needed.
await fs.mkdir(workspaceDir);
await fs.mkdir(workspaceDir, { recursive: true });
process.env.OPENCLAW_STATE_DIR = stateDir;
// Keep the default Windows path unresolved for most tests so spawn mocks can
// match the logical package command. Tests that verify wrapper resolution