From ccd3fec23e8711eb6b0d5842d5b289e8acff2346 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 7 Apr 2026 09:54:20 +0800 Subject: [PATCH] Tests: drop duplicate cron NO_REPLY case --- ...app-recipient-besteffortdeliver-true.test.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/cron/isolated-agent.skips-delivery-without-whatsapp-recipient-besteffortdeliver-true.test.ts b/src/cron/isolated-agent.skips-delivery-without-whatsapp-recipient-besteffortdeliver-true.test.ts index 9f55c0eab43..de087f5eeae 100644 --- a/src/cron/isolated-agent.skips-delivery-without-whatsapp-recipient-besteffortdeliver-true.test.ts +++ b/src/cron/isolated-agent.skips-delivery-without-whatsapp-recipient-besteffortdeliver-true.test.ts @@ -232,23 +232,6 @@ describe("runCronIsolatedAgentTurn", () => { setupIsolatedAgentTurnMocks({ fast: true }); }); - it("does not mark NO_REPLY output as delivered when no direct send occurs", async () => { - await withTelegramAnnounceFixture(async ({ home, storePath, deps }) => { - mockAgentPayloads([{ text: "NO_REPLY" }]); - const res = await runTelegramAnnounceTurn({ - home, - storePath, - deps, - delivery: { mode: "announce", channel: "telegram", to: "123" }, - }); - - expect(res.status).toBe("ok"); - expect(res.delivered).toBe(false); - expect(runSubagentAnnounceFlow).not.toHaveBeenCalled(); - expect(deps.sendMessageTelegram).not.toHaveBeenCalled(); - }); - }); - it("deletes the isolated cron session after NO_REPLY when deleteAfterRun is enabled", async () => { await withTelegramAnnounceFixture(async ({ home, storePath, deps }) => { mockAgentPayloads([{ text: "NO_REPLY" }]);