mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-23 22:34:53 +00:00
test(windows): use absolute bun path in bash fixtures
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user