test: stabilize service-env path tests on windows
This commit is contained in:
parent
c3cb26f7ca
commit
d9f173a03d
@ -193,6 +193,7 @@ describe("buildMinimalServicePath", () => {
|
||||
const result = buildMinimalServicePath({
|
||||
platform: "linux",
|
||||
extraDirs: ["/custom/tools"],
|
||||
env: {},
|
||||
});
|
||||
expect(splitPath(result, "linux")).toContain("/custom/tools");
|
||||
});
|
||||
@ -201,6 +202,7 @@ describe("buildMinimalServicePath", () => {
|
||||
const result = buildMinimalServicePath({
|
||||
platform: "linux",
|
||||
extraDirs: ["/usr/bin"],
|
||||
env: {},
|
||||
});
|
||||
const parts = splitPath(result, "linux");
|
||||
const unique = [...new Set(parts)];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user