fix(setup): integrate Windows runner and ConPTY corrections

This commit is contained in:
morluto committed 2026-10-15 04:04:17 +08:00
commit ebecf06f6e
3 files changed
+32 -7

No files matched your search

+9
View File
@@ -212,3 +212,12 @@ it.each([
});
},
);
it("prioritizes overridden package runner environment variables over ambient keys with differing case on Windows", () => {
const environment = {
NPM_COMMAND: "run",
npm_command: "exec",
NPM_CONFIG_USER_AGENT: "npm/10.9.0 node/v24.11.0 win32 x64",
};
expect(invokingPackageRunner(environment, "win32")).toBe("npx");
});