diff --git a/extensions/qqbot/src/engine/gateway/inbound-attachments.test.ts b/extensions/qqbot/src/engine/gateway/inbound-attachments.test.ts index 3d946a66105f..0bb42a603319 100644 --- a/extensions/qqbot/src/engine/gateway/inbound-attachments.test.ts +++ b/extensions/qqbot/src/engine/gateway/inbound-attachments.test.ts @@ -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: [], }); });