lint: fix lint error

isekai-main
Barış Soner Uşaklı 3 years ago
parent 1dc79d76a0
commit b45e241390

@ -241,19 +241,20 @@ describe('Admin Controllers', () => {
done(); done();
}); });
}); });
// TODO: renable after nbbpm is fixed /*
// it('should load /admin/extend/plugins', function (done) { TODO: renable after nbbpm is fixed
// this.timeout(50000); it('should load /admin/extend/plugins', function (done) {
// request(`${nconf.get('url')}/api/admin/extend/plugins`, { jar: jar, json: true }, (err, res, body) => { this.timeout(50000);
// assert.ifError(err); request(`${nconf.get('url')}/api/admin/extend/plugins`, { jar: jar, json: true }, (err, res, body) => {
// assert(body.hasOwnProperty('installed')); assert.ifError(err);
// assert(body.hasOwnProperty('upgradeCount')); assert(body.hasOwnProperty('installed'));
// assert(body.hasOwnProperty('download')); assert(body.hasOwnProperty('upgradeCount'));
// assert(body.hasOwnProperty('incompatible')); assert(body.hasOwnProperty('download'));
// done(); assert(body.hasOwnProperty('incompatible'));
// }); done();
// }); });
});
*/
it('should load /admin/manage/users', (done) => { it('should load /admin/manage/users', (done) => {
request(`${nconf.get('url')}/api/admin/manage/users`, { jar: jar, json: true }, (err, res, body) => { request(`${nconf.get('url')}/api/admin/manage/users`, { jar: jar, json: true }, (err, res, body) => {
assert.ifError(err); assert.ifError(err);

Loading…
Cancel
Save