Skip to content

Commit 46efb28

Browse files
fix(server): isolate clone fixture Git config from suite defaults
2 parents 2e90e5b + 8d92b9f commit 46efb28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/vcs/WorktreeClone.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ import { makeWorktreeDependencies } from "./WorktreeDependencies.ts";
2020
import { makeWorktreeClone } from "./WorktreeClone.ts";
2121
import * as GitVcsDriver from "./GitVcsDriver.ts";
2222

23-
// Runner-installed Git LFS filters must not change the fixture's eligibility.
23+
// Runner-installed filters and suite-wide overrides must not mask fixture config.
2424
beforeAll(() => {
2525
vi.stubEnv("GIT_CONFIG_NOSYSTEM", "1");
2626
vi.stubEnv("GIT_CONFIG_GLOBAL", NodeOS.devNull);
27+
vi.stubEnv("GIT_CONFIG_COUNT", "0");
2728
});
2829
afterAll(() => vi.unstubAllEnvs());
2930

0 commit comments

Comments
 (0)