test(server): default mainRepoRoot to null in createCheckoutStatus helper

de428582 made workspace-git-service propagate checkoutStatus.mainRepoRoot
directly. The test helper never set the field, so the runtime snapshot
emitted undefined where tests expected null.
This commit is contained in:
Mohamed Boudra
2026-04-26 22:12:17 +07:00
parent eb9492f9b9
commit 16cf9edfb1

View File

@@ -89,6 +89,7 @@ function createCheckoutStatus(
return {
isGit: true,
repoRoot: cwd,
mainRepoRoot: null,
currentBranch: "main",
isDirty: false,
baseRef: "main",