fix(FN-4623): align worktrunk create/remove argv semantics
Fusion-Task-Id: FN-4623 Fusion-Task-Lineage: 58122853-cab7-4102-9649-4ceda4c5959e
This commit is contained in:
committed by
gsxdsm
parent
35279a2517
commit
bcf140a92a
@@ -162,7 +162,7 @@ describe("WorktrunkWorktreeBackend", () => {
|
||||
|
||||
expect(execFileMock).toHaveBeenCalledWith(
|
||||
"worktrunk",
|
||||
["switch", "--create", "fusion/fn-1", "main"],
|
||||
["switch", "--create", "fusion/fn-1", "--base", "main"],
|
||||
expect.objectContaining({ cwd: "/repo", timeout: 120000, maxBuffer: 10485760 }),
|
||||
);
|
||||
});
|
||||
@@ -179,7 +179,7 @@ describe("WorktrunkWorktreeBackend", () => {
|
||||
|
||||
expect(execFileMock).toHaveBeenCalledWith(
|
||||
"worktrunk",
|
||||
["remove", "fusion/fn-1"],
|
||||
["remove", "--foreground", "fusion/fn-1"],
|
||||
expect.objectContaining({ cwd: "/repo", timeout: 60000, maxBuffer: 10485760 }),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user