diff --git a/test/openclaw-npm-release-check.test.ts b/test/openclaw-npm-release-check.test.ts index 2ac82c0ad26..df8a3e76232 100644 --- a/test/openclaw-npm-release-check.test.ts +++ b/test/openclaw-npm-release-check.test.ts @@ -306,7 +306,7 @@ describe("resolveNpmCommandInvocation", () => { }); it("uses the platform npm command when npm_execpath is missing", () => { - expect(resolveNpmCommandInvocation({ platform: "win32" })).toEqual({ + expect(resolveNpmCommandInvocation({ npmExecPath: "", platform: "win32" })).toEqual({ command: "npm.cmd", args: [], });