test(windows): use absolute bun path in bash fixtures

This commit is contained in:
LukeParkerDev
2026-03-05 11:08:23 +10:00
parent 2a098f68ed
commit 50188cdce3

View File

@@ -20,7 +20,8 @@ const ctx = {
}
const projectRoot = path.join(__dirname, "../..")
const fill = (mode: "lines" | "bytes", n: number) => `bun test/tool/fixtures/output.ts ${mode} ${n}`
const bin = process.execPath.replaceAll("\\", "/")
const fill = (mode: "lines" | "bytes", n: number) => `${bin} test/tool/fixtures/output.ts ${mode} ${n}`
describe("tool.bash", () => {
test("basic", async () => {