test(FN-4397): annotate regression coverage for stale/live branch conflict

Fusion-Task-Id: FN-4397
Fusion-Task-Lineage: 1ffac4f7-adf5-4115-b588-108d75eadde7
This commit is contained in:
Fusion
2026-05-13 15:45:57 -07:00
committed by gsxdsm
parent 381ecbfe21
commit e88b5dbb01

View File

@@ -68,7 +68,7 @@ describe("branch-conflicts", () => {
expect(mockedExecSync).not.toHaveBeenCalled();
});
it("treats branch as stale-resolved when conflicting path exists but branch is not checked out in any live worktree", async () => {
it("FN-4397: treats branch as stale-resolved when conflicting path exists but branch is not checked out in any live worktree", async () => {
mockedExecSync.mockImplementation((cmd: string | string[]) => {
const command = typeof cmd === "string" ? cmd : cmd[0];
if (command === "git worktree prune") return Buffer.from("");