test(git): disable detached fixture maintenance per mos-1369

This commit is contained in:
jason.woltje committed 2026-10-22 22:55:25 -05:00
1 parent 464010fbe4
commit 4e22bd49f9
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ import { fixture } from "./helpers.mjs";
const TASK = "vikunja:1/2";
function gitIn(cwd, ...args) {
const r = spawnSync("git", ["-c", "user.name=test", "-c", "[email protected]", "-C", cwd, ...args], { env: gitEnv(), encoding: "utf8" });
const r = spawnSync("git", ["-c", "maintenance.auto=false", "-c", "gc.auto=0", "-c", "user.name=test", "-c", "[email protected]", "-C", cwd, ...args], { env: gitEnv(), encoding: "utf8" });
assert.equal(r.status, 0, r.stderr);
return r.stdout.trim();
}
+1 -1
View File
@@ -45,7 +45,7 @@ async function until(fn, ms = 15000) {
}
function gitIn(cwd, ...args) {
const r = spawnSync("git", ["-c", "user.name=test", "-c", "[email protected]", "-C", cwd, ...args], { env: gitEnv(), encoding: "utf8" });
const r = spawnSync("git", ["-c", "maintenance.auto=false", "-c", "gc.auto=0", "-c", "user.name=test", "-c", "[email protected]", "-C", cwd, ...args], { env: gitEnv(), encoding: "utf8" });
assert.equal(r.status, 0, r.stderr);
}