mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -05:00
fix email dao unit test
This commit is contained in:
parent
5ad681e58d
commit
1fe7c3ce82
@ -256,7 +256,7 @@ define(function(require) {
|
|||||||
expect(newImapClientStub.getMessage.calledOnce).to.be.true;
|
expect(newImapClientStub.getMessage.calledOnce).to.be.true;
|
||||||
expect(err).to.not.exist;
|
expect(err).to.not.exist;
|
||||||
expect(message.uid).to.equal(uid);
|
expect(message.uid).to.equal(uid);
|
||||||
expect(message.attachments[0].base64).to.exist;
|
expect(message.attachments[0].uint8Array).to.exist;
|
||||||
emailDao._imapClient = imapClientStub;
|
emailDao._imapClient = imapClientStub;
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user