fix(test): make host fixtures portable

This commit is contained in:
morluto
2026-07-16 19:51:25 +08:00
parent b2d1f2affd
commit f23f52903c
11 changed files with 74 additions and 23 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ describe("native macOS provider", () => {
return Promise.resolve(
resolutions === 1
? err(new NativeCommandFailure(tool, "unavailable"))
: ok({ path: "/bin/true", sha256: "a".repeat(64) }),
: ok({ path: "/usr/bin/true", sha256: "a".repeat(64) }),
);
});
const options = { timeoutMs: 1_000, maxOutputBytes: 1_024 };