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