test: tighten node shell platform normalization
This commit is contained in:
@@ -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"]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user