mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:20:43 +00:00
chore: update workspace dependencies
This commit is contained in:
@@ -3162,7 +3162,7 @@ describe("dispatchTelegramMessage draft streaming", () => {
|
||||
editMessageTelegram.mockResolvedValue({ ok: true });
|
||||
dispatchReplyWithBufferedBlockDispatcher.mockImplementation(
|
||||
async ({ dispatcherOptions, replyOptions }) => {
|
||||
replyOptions?.onPartialReply?.({ text: "Processing..." });
|
||||
await replyOptions?.onPartialReply?.({ text: "Processing..." });
|
||||
await dispatcherOptions.deliver(
|
||||
{ text: "⚠️ exec failed", isError: true },
|
||||
{ kind: "block" },
|
||||
|
||||
@@ -334,7 +334,7 @@ describe("createTelegramBot", () => {
|
||||
|
||||
replySpy.mockImplementation(async (ctx: MsgContext, opts?: GetReplyOptions) => {
|
||||
await opts?.onReplyStart?.();
|
||||
const body = String(ctx.Body ?? "");
|
||||
const body = ctx.Body ?? "";
|
||||
startedBodies.push(body);
|
||||
if (body.includes("first message")) {
|
||||
await firstTurnGate;
|
||||
@@ -444,7 +444,7 @@ describe("createTelegramBot", () => {
|
||||
|
||||
replySpy.mockImplementation(async (ctx: MsgContext, opts?: GetReplyOptions) => {
|
||||
await opts?.onReplyStart?.();
|
||||
const body = String(ctx.Body ?? "");
|
||||
const body = ctx.Body ?? "";
|
||||
startedBodies.push(body);
|
||||
if (body.includes("first")) {
|
||||
await firstRunGate;
|
||||
|
||||
Reference in New Issue
Block a user