Remove unneeded promise wrapper

// FREEBIE
pull/749/head
lilia 8 years ago
parent 3ea5c0435b
commit 534ba3a62f

@ -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() {

Loading…
Cancel
Save