test: fix environment sensitivity in resolveNpmCommandInvocation test… · openclaw/openclaw@faf96ff
medns
·
2026-05-22
·
via Recent Commits to openclaw:main
Commit faf96ff


and
authored
test: fix environment sensitivity in resolveNpmCommandInvocation test (#83405)
Merged via squash.
Prepared head SHA: b2c2e9a
Co-authored-by: medns <1575008+medns@users.noreply.github.com>
Co-authored-by: odysseus0 <8635094+odysseus0@users.noreply.github.com>
Reviewed-by: @odysseus0
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -306,7 +306,7 @@ describe("resolveNpmCommandInvocation", () => {
|
306 | 306 | }); |
307 | 307 | |
308 | 308 | it("uses the platform npm command when npm_execpath is missing", () => { |
309 | | -expect(resolveNpmCommandInvocation({ platform: "win32" })).toEqual({ |
| 309 | +expect(resolveNpmCommandInvocation({ npmExecPath: "", platform: "win32" })).toEqual({ |
310 | 310 | command: "npm.cmd", |
311 | 311 | args: [], |
312 | 312 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)