test: tighten node shell platform normalization

This commit is contained in:
Peter Steinberger 2026-03-14 01:05:46 +00:00
parent e3637253ef
commit 19edeb1aeb
1 changed files with 1 additions and 0 deletions

View File

@ -31,5 +31,6 @@ describe("buildNodeShellCommand", () => {
expect(buildNodeShellCommand("echo hi", "linux")).toEqual(["/bin/sh", "-lc", "echo hi"]);
expect(buildNodeShellCommand("echo hi")).toEqual(["/bin/sh", "-lc", "echo hi"]);
expect(buildNodeShellCommand("echo hi", null)).toEqual(["/bin/sh", "-lc", "echo hi"]);
expect(buildNodeShellCommand("echo hi", " ")).toEqual(["/bin/sh", "-lc", "echo hi"]);
});
});