mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:22:47 +00:00
fix: pairing admin satisfies write (#23125) (thanks @vignesh07)
This commit is contained in:
committed by
Vignesh
parent
426d97797d
commit
5b4409d5d0
@@ -985,8 +985,9 @@ describe("QmdMemoryManager", () => {
|
||||
);
|
||||
expect(mcporterCall).toBeDefined();
|
||||
const spawnOpts = mcporterCall?.[2] as { env?: NodeJS.ProcessEnv } | undefined;
|
||||
expect(spawnOpts?.env?.XDG_CONFIG_HOME).toContain("/agents/main/qmd/xdg-config");
|
||||
expect(spawnOpts?.env?.XDG_CACHE_HOME).toContain("/agents/main/qmd/xdg-cache");
|
||||
const normalizePath = (value?: string) => value?.replace(/\\/g, "/");
|
||||
expect(normalizePath(spawnOpts?.env?.XDG_CONFIG_HOME)).toContain("/agents/main/qmd/xdg-config");
|
||||
expect(normalizePath(spawnOpts?.env?.XDG_CACHE_HOME)).toContain("/agents/main/qmd/xdg-cache");
|
||||
|
||||
await manager.close();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user