Skip to content

Commit 85b8e43

Browse files
roryabrahamNicolasBonet
authored andcommitted
fix: update deleteAgent test to use agentAccountID instead of accountID for consistency
1 parent eca9a99 commit 85b8e43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/AgentActionTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ describe('deleteAgent', () => {
280280
it('calls write with DELETE_AGENT command and correct params', () => {
281281
deleteAgent(TEST_ACCOUNT_ID);
282282

283-
expect(mockWrite).toHaveBeenCalledWith(WRITE_COMMANDS.DELETE_AGENT, {accountID: TEST_ACCOUNT_ID}, expect.any(Object));
283+
expect(mockWrite).toHaveBeenCalledWith(WRITE_COMMANDS.DELETE_AGENT, {agentAccountID: TEST_ACCOUNT_ID}, expect.any(Object));
284284
});
285285

286286
it('optimistic data merges pendingAction DELETE on the prompt key', () => {

0 commit comments

Comments
 (0)