fix(clownfish): address review for ghcrawl-156943-autonomous-smoke (1)

This commit is contained in:
openclaw-clownfish[bot]
2026-04-29 02:04:38 +00:00
committed by clawsweeper
parent 7def3722fa
commit 6c04448648

View File

@@ -132,9 +132,9 @@ describe("resolveWhatsAppOutboundTarget", () => {
describe("newsletter JID handling", () => {
it("returns success for valid newsletter JID without applying DM allowFrom", () => {
vi.mocked(normalize.normalizeWhatsAppTarget)
.mockReturnValueOnce(SECONDARY_TARGET)
.mockReturnValueOnce("120363123456789@newsletter");
vi.mocked(normalize.normalizeWhatsAppTarget).mockReturnValueOnce(
"120363123456789@newsletter",
);
vi.mocked(normalize.isWhatsAppGroupJid).mockReturnValueOnce(false);
vi.mocked(normalize.isWhatsAppNewsletterJid).mockReturnValueOnce(true);