mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 20:05:46 -06:00
test: tighten qqbot attachment assertions
This commit is contained in:
@@ -41,10 +41,15 @@ describe("engine/gateway/inbound-attachments", () => {
|
||||
it("returns an empty result when no attachments are present", async () => {
|
||||
await expect(
|
||||
processAttachments(undefined, { accountId: "qq", cfg: {}, audioConvert }),
|
||||
).resolves.toMatchObject({
|
||||
).resolves.toStrictEqual({
|
||||
attachmentInfo: "",
|
||||
imageUrls: [],
|
||||
imageMediaTypes: [],
|
||||
voiceAttachmentPaths: [],
|
||||
voiceAttachmentUrls: [],
|
||||
voiceAsrReferTexts: [],
|
||||
voiceTranscripts: [],
|
||||
voiceTranscriptSources: [],
|
||||
attachmentLocalPaths: [],
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user