stabilize native Windows integration gates

This commit is contained in:
Sinabina
2026-07-17 14:41:24 -07:00
parent 6d3eb795e8
commit a8a5fa1aa3
4 changed files with 24 additions and 9 deletions
+5 -1
View File
@@ -227,7 +227,11 @@ describe("gstack 2 host-neutral paths and state", () => {
const repo = path.join(root, "main repo");
const linked = path.join(root, "linked worktree");
await fs.mkdir(repo);
const git = (args: string[], cwd = repo) => spawnSync("git", args, { cwd, encoding: "utf8" });
const git = (args: string[], cwd = repo) => spawnSync("git", args, {
cwd,
encoding: "utf8",
timeout: 15_000,
});
expect(git(["init", "--quiet", "-b", "main"]).status).toBe(0);
git(["config", "user.email", "runtime@example.com"]);
git(["config", "user.name", "Runtime Test"]);