test: assert worktree backing release

This commit is contained in:
Mohamed Boudra
2026-08-14 19:31:04 +02:00
parent 642c303859
commit b500809229
@@ -2795,7 +2795,9 @@ describe("create_agent MCP tool", () => {
force: true,
reason: "archive-worktree",
});
expect(archiveWorkspaceRecord).toHaveBeenCalledWith("ws-archive-tool-worktree");
expect(archiveWorkspaceRecord).toHaveBeenCalledWith("ws-archive-tool-worktree", {
releaseBacking: true,
});
expect(markWorkspaceArchiving).toHaveBeenCalledWith(
["ws-archive-tool-worktree"],
expect.any(String),