mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Moved chained funcitons to multiple lines
This commit is contained in:
@@ -43,11 +43,13 @@ describe('update settings', () => {
|
||||
|
||||
return Setting.getSettings();
|
||||
|
||||
}).then(settings => {
|
||||
})
|
||||
.then(settings => {
|
||||
// confirm updated settings in db
|
||||
expect(settings).to.have.property('moderation');
|
||||
expect(settings.moderation).to.equal('post');
|
||||
}).catch(err => {
|
||||
})
|
||||
.catch(err => {
|
||||
throw err;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user