Skip to content

Commit b2c2e9a

Browse files
mednsodysseus0
authored andcommitted
test: fix environment sensitivity in resolveNpmCommandInvocation test
1 parent 4399eee commit b2c2e9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/openclaw-npm-release-check.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ describe("resolveNpmCommandInvocation", () => {
306306
});
307307

308308
it("uses the platform npm command when npm_execpath is missing", () => {
309-
expect(resolveNpmCommandInvocation({ platform: "win32" })).toEqual({
309+
expect(resolveNpmCommandInvocation({ npmExecPath: "", platform: "win32" })).toEqual({
310310
command: "npm.cmd",
311311
args: [],
312312
});

0 commit comments

Comments
 (0)