mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:08:26 +00:00
feat: add cross-context messaging resolver
Co-authored-by: Thinh Dinh <tobalsan@users.noreply.github.com>
This commit is contained in:
@@ -120,7 +120,7 @@ describe("messageCommand", () => {
|
||||
{
|
||||
action: "send",
|
||||
channel: "whatsapp",
|
||||
to: "+1",
|
||||
to: "+15551234567",
|
||||
message: "hi",
|
||||
},
|
||||
deps,
|
||||
@@ -135,7 +135,7 @@ describe("messageCommand", () => {
|
||||
{
|
||||
action: "poll",
|
||||
channel: "discord",
|
||||
to: "channel:123",
|
||||
to: "channel:123456789",
|
||||
pollQuestion: "Snack?",
|
||||
pollOption: ["Pizza", "Sushi"],
|
||||
},
|
||||
@@ -145,7 +145,7 @@ describe("messageCommand", () => {
|
||||
expect(handleDiscordAction).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
action: "poll",
|
||||
to: "channel:123",
|
||||
to: "channel:123456789",
|
||||
}),
|
||||
expect.any(Object),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user