test(outbound): use lightweight clears in send service setup

This commit is contained in:
Peter Steinberger
2026-02-22 00:27:15 +00:00
parent d4b0397378
commit 856b5aca2c

View File

@@ -19,9 +19,9 @@ import { executePollAction, executeSendAction } from "./outbound-send-service.js
describe("executeSendAction", () => {
beforeEach(() => {
mocks.dispatchChannelMessageAction.mockReset();
mocks.sendMessage.mockReset();
mocks.sendPoll.mockReset();
mocks.dispatchChannelMessageAction.mockClear();
mocks.sendMessage.mockClear();
mocks.sendPoll.mockClear();
});
it("forwards ctx.agentId to sendMessage on core outbound path", async () => {