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:
@@ -68,7 +68,7 @@ describe("branch-conflicts", () => {
|
|||||||
expect(mockedExecSync).not.toHaveBeenCalled();
|
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[]) => {
|
mockedExecSync.mockImplementation((cmd: string | string[]) => {
|
||||||
const command = typeof cmd === "string" ? cmd : cmd[0];
|
const command = typeof cmd === "string" ? cmd : cmd[0];
|
||||||
if (command === "git worktree prune") return Buffer.from("");
|
if (command === "git worktree prune") return Buffer.from("");
|
||||||
|
|||||||
Reference in New Issue
Block a user