mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:00:43 +00:00
fix(clownfish): address review for ghcrawl-156943-autonomous-smoke (1)
This commit is contained in:
committed by
clawsweeper
parent
7def3722fa
commit
6c04448648
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user