Move to central MIME functions, remove some console.log
And generally address PR feedback.
This commit is contained in:
parent
f255cbcbe3
commit
fce9bb7342
6 changed files with 21 additions and 17 deletions
|
@ -359,9 +359,9 @@ describe('Message', () => {
|
|||
});
|
||||
|
||||
it('calls provided async function for each quoted attachment', async () => {
|
||||
const upgradeAttachment = sinon.stub().returns(Promise.resolve({
|
||||
const upgradeAttachment = sinon.stub().resolves({
|
||||
path: '/new/path/on/disk',
|
||||
}));
|
||||
});
|
||||
const upgradeVersion = Message._mapQuotedAttachments(upgradeAttachment);
|
||||
|
||||
const message = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue