mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 17:51:22 +00:00
test: trim qmd manager fixture setup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user