Skip to content

Commit

Permalink
Remove unneeded promise wrapper
Browse files Browse the repository at this point in the history
// FREEBIE
  • Loading branch information
liliakai committed May 12, 2017
1 parent 3ea5c04 commit 534ba3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/keychange_listener_test.js
Expand Up @@ -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() {
Expand Down

0 comments on commit 534ba3a

Please sign in to comment.