feat(FN-4623): complete Step 6/7 — verification fixes, docs, and changeset
Fusion-Task-Id: FN-4623 Fusion-Task-Lineage: 58122853-cab7-4102-9649-4ceda4c5959e
This commit is contained in:
committed by
gsxdsm
parent
81b2f4ea8f
commit
3d9260e0a8
@@ -67,10 +67,7 @@ describe("acquireTaskWorktree backend wiring", () => {
|
||||
audit,
|
||||
});
|
||||
|
||||
expect(execMock).toHaveBeenCalledWith(
|
||||
'"worktrunk" "switch" "--create" "fusion/fn-1"',
|
||||
expect.objectContaining({ cwd: "/repo" }),
|
||||
);
|
||||
expect(execMock.mock.calls.some((call) => String(call[0]).includes('"worktrunk" "switch" "--create" "fusion/fn-1"'))).toBe(true);
|
||||
expect(audit.git).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
type: "worktree:worktrunk-create",
|
||||
@@ -124,6 +121,7 @@ describe("acquireTaskWorktree backend wiring", () => {
|
||||
remove: vi.fn(),
|
||||
sync: vi.fn().mockResolvedValue({ skipped: true as const }),
|
||||
prune: vi.fn(),
|
||||
resolveWorktreePath: vi.fn().mockResolvedValue("/tmp/custom-path"),
|
||||
};
|
||||
|
||||
const result = await acquireTaskWorktree({
|
||||
|
||||
Reference in New Issue
Block a user