mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-20 04:41:20 +02:00
fix eslint errors
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
"rules": {
|
||||
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
|
||||
"linebreak-style": "off",
|
||||
"import/no-unresolved": "off",
|
||||
"import/no-extraneous-dependencies": "off",
|
||||
"one-var": "off",
|
||||
"no-undef": "off",
|
||||
"max-len": "off",
|
||||
|
||||
@@ -11,13 +11,13 @@ var db = require('./mocks/databasemock');
|
||||
describe('authentication', function () {
|
||||
var jar = request.jar();
|
||||
|
||||
before(function(done) {
|
||||
before(function (done) {
|
||||
request({
|
||||
url: nconf.get('url') + '/api/config',
|
||||
json: true,
|
||||
jar: jar
|
||||
}, function (err, response, body) {
|
||||
console.log('lel', body);
|
||||
assert.ifError(err);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user