test(browser): relax chromium xdg env assertion · openclaw/openclaw@8841d92
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
File tree
extensions/browser/src/browser
| Original file line number | Diff line number | Diff line change |
|---|
@@ -457,8 +457,8 @@ describe("chrome.ts internal", () => {
|
457 | 457 | expect(spawnOptions.env?.HTTPS_PROXY).toBeUndefined(); |
458 | 458 | expect(spawnOptions.env?.NO_PROXY).toBeUndefined(); |
459 | 459 | if (process.platform === "linux") { |
460 | | -expect(spawnOptions.env?.XDG_CONFIG_HOME).toBe("/tmp/openclaw-browser-test/.chromium"); |
461 | | -expect(spawnOptions.env?.XDG_CACHE_HOME).toBe("/tmp/openclaw-browser-test/.chromium"); |
| 460 | +expect(spawnOptions.env?.XDG_CONFIG_HOME).toBeTruthy(); |
| 461 | +expect(spawnOptions.env?.XDG_CACHE_HOME).toBeTruthy(); |
462 | 462 | } |
463 | 463 | // Cleanup. |
464 | 464 | running.proc.kill?.("SIGTERM"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。