fix(e2e): clear restored macOS npm cache · openclaw/openclaw@88c9e4d
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -936,6 +936,12 @@ if (isPrlctl) {
|
936 | 936 | expect(guestTransports.match(/umask 022/g)).toHaveLength(2); |
937 | 937 | }); |
938 | 938 | |
| 939 | +it("clears restored macOS npm content cache before install lanes", () => { |
| 940 | +const macos = readFileSync(TS_PATHS.macos, "utf8"); |
| 941 | + |
| 942 | +expect(macos).toContain('rm -rf "$HOME/.npm/_cacache"'); |
| 943 | +}); |
| 944 | + |
939 | 945 | it("provisions portable Git before Windows dev update lanes", () => { |
940 | 946 | const script = readFileSync(TS_PATHS.windows, "utf8"); |
941 | 947 | const windowsGit = readFileSync(TS_PATHS.windowsGit, "utf8"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。