Remove unneeded promise wrapper

// FREEBIE
This commit is contained in:
lilia 2017-05-10 12:34:41 -07:00
parent 3ea5c0435b
commit 534ba3a62f

View file

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