test: tighten qqbot attachment assertions

This commit is contained in:
Shakker
2026-05-11 10:49:05 +01:00
parent c4cd22af0b
commit 5e43abe378
@@ -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: [],
});
});