test: trim qmd manager fixture setup

feature/PAZ-358-fe-credit-error-display
Peter Steinberger 8 months ago
parent 528868ef76
commit e44a995e83
No known key found for this signature in database

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

Loading…
Cancel
Save