1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 18:32:20 -05:00

Refactor integration tests for promises

This commit is contained in:
Tankred Hase 2014-12-16 14:42:46 +01:00
parent c5a8e1c119
commit bfe827e084
2 changed files with 51 additions and 103 deletions

View File

@ -192,11 +192,11 @@ Email.prototype.openFolder = function(options) {
self._imapClient.selectMailbox({
path: options.folder.path
}, function(err) {
}, function(err, folder) {
if (err) {
reject(err);
} else {
resolve();
resolve(folder);
}
});
});

File diff suppressed because one or more lines are too long