Skip to content

Commit c01dc80

Browse files
committed
Remove debug method
1 parent e78b5c4 commit c01dc80

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/push.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,16 +290,12 @@ _.forEach(optionsByAuth, function(options, authName) {
290290
return addOrUpdateDevice()
291291
.then(addOrUpdateDevice)
292292
.then(assertDeviceProperties)
293-
.then(assertResult)
294-
.catch(function(err){
295-
console.log('err', err);
296-
throw err;
297-
});
293+
.then(assertResult);
298294

299295
/**
300296
* @return {Promise.<PushAppDeviceObject>}
301297
*/
302-
function addOrUpdateDevice(){
298+
function addOrUpdateDevice() {
303299
email = randomString() + '@example.com';
304300

305301
return smsapi.push.app.device.addOrUpdate(app.id)

0 commit comments

Comments
 (0)