Remove unneeded promise wrapper

// FREEBIE
This commit is contained in:
lilia 2017-05-10 12:34:41 -07:00
parent 3ea5c0435b
commit 534ba3a62f
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ describe('KeyChangeListener', function() {
var convo = new Whisper.Conversation({ id: phone_number_with_keychange, type: 'private'});
before(function() {
ConversationController.add(convo);
return new Promise(function(resolve) { convo.save().then(resolve); });
return convo.save();
});
after(function() {