Update test for attachment metadata
This commit is contained in:
parent
86a9923181
commit
8b9516de72
2 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ describe('Message', () => {
|
||||||
size: 1111,
|
size: 1111,
|
||||||
}],
|
}],
|
||||||
hasAttachments: 1,
|
hasAttachments: 1,
|
||||||
hasVisualMediaAttachments: undefined,
|
hasVisualMediaAttachments: 0,
|
||||||
hasFileAttachments: 1,
|
hasFileAttachments: 1,
|
||||||
schemaVersion: Message.CURRENT_SCHEMA_VERSION,
|
schemaVersion: Message.CURRENT_SCHEMA_VERSION,
|
||||||
};
|
};
|
||||||
|
|
|
@ -40,7 +40,7 @@ describe('Message', () => {
|
||||||
}],
|
}],
|
||||||
hasAttachments: 1,
|
hasAttachments: 1,
|
||||||
hasVisualMediaAttachments: 1,
|
hasVisualMediaAttachments: 1,
|
||||||
hasFileAttachments: undefined,
|
hasFileAttachments: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
const actual = await Message.initializeAttachmentMetadata(input);
|
const actual = await Message.initializeAttachmentMetadata(input);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue