|
|
|
|
@ -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
|
|
|
|
|
|