Remove unneeded promise wrapper
// FREEBIE
This commit is contained in:
parent
3ea5c0435b
commit
534ba3a62f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue