mirror of
https://github.com/moparisthebest/mail
synced 2024-12-22 15:28:49 -05:00
fix tests
This commit is contained in:
parent
533c3b20c9
commit
e54daf1fd7
@ -913,16 +913,7 @@ define(function(require) {
|
||||
|
||||
describe('getAttachment', function() {
|
||||
var folder = 'asdasdasdasdasd',
|
||||
uid = 1234,
|
||||
imapGetStub;
|
||||
|
||||
beforeEach(function() {
|
||||
imapGetStub = sinon.stub(emailSync, '_getBodyParts');
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
emailSync._getBodyParts.restore();
|
||||
});
|
||||
uid = 1234;
|
||||
|
||||
it('should fetch an attachment from imap', function(done) {
|
||||
var attmt = {};
|
||||
|
Loading…
Reference in New Issue
Block a user