mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
test: verify plugin warning messages
This commit is contained in:
@@ -909,7 +909,7 @@ describe("drive.notice.comment_add_v1 monitor handler", () => {
|
||||
"default",
|
||||
);
|
||||
expect(lastRuntime?.error).toHaveBeenCalledWith(
|
||||
expect.stringContaining("error handling drive comment notice: Error: post-send failure"),
|
||||
"feishu[default]: error handling drive comment notice: Error: post-send failure",
|
||||
);
|
||||
});
|
||||
const [recordedMessageId, recordedNamespace, recordedLogger] =
|
||||
@@ -936,9 +936,7 @@ describe("drive.notice.comment_add_v1 monitor handler", () => {
|
||||
"default",
|
||||
);
|
||||
expect(lastRuntime?.error).toHaveBeenCalledWith(
|
||||
expect.stringContaining(
|
||||
"error handling drive comment notice: FeishuRetryableSyntheticEventError: retry me",
|
||||
),
|
||||
"feishu[default]: error handling drive comment notice: FeishuRetryableSyntheticEventError: retry me",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user