Skip to content

Commit 6a0c7d5

Browse files
test(claws): reject normalized agent collisions
1 parent cba89ed commit 6a0c7d5

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎src/claws/provenance.test.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,12 +284,7 @@ describe("applyClawAddPlan", () => {
284284
transform({ agents: { list: [{ id: " Worker " }] } });
285285
},
286286
}),
287-
).resolves.toMatchObject({
288-
status: "partial",
289-
workspaceCreated: false,
290-
configCommitted: false,
291-
error: { code: "agent_id_collision" },
292-
});
287+
).rejects.toMatchObject({ code: "agent_id_collision" });
293288
await expect(access(plan.agent.workspace)).rejects.toThrow();
294289
});
295290

0 commit comments

Comments
 (0)