fix tests
CI / verify (pull_request) Successful in 9s

This commit is contained in:
2026-09-18 10:15:50 +02:00
parent d39408afc4
commit b90720d270
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { afterEach, expect, test } from "bun:test";
import { mkdir, mkdtemp, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { command, Herdr } from "../src/herdr.js";
@@ -10,7 +11,7 @@ afterEach(async () => {
});
async function fixture() {
const temporary = await mkdtemp("/tmp/opencode/multi-work-");
const temporary = await mkdtemp(join(tmpdir(), "multi-work-"));
directories.push(temporary);
const root = join(temporary, "root");
const destination = join(temporary, "returned checkout");