mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 04:48:15 +00:00
test: trim qmd manager fixture setup
This commit is contained in:
parent
528868ef76
commit
e44a995e83
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue