fix eslint errors

v1.18.x
barisusakli 9 years ago
parent 817cd29f00
commit 4a8b3dcd4c

@ -4,6 +4,8 @@
"rules": { "rules": {
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ], "handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
"linebreak-style": "off", "linebreak-style": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"one-var": "off", "one-var": "off",
"no-undef": "off", "no-undef": "off",
"max-len": "off", "max-len": "off",

@ -11,13 +11,13 @@ var db = require('./mocks/databasemock');
describe('authentication', function () { describe('authentication', function () {
var jar = request.jar(); var jar = request.jar();
before(function(done) { before(function (done) {
request({ request({
url: nconf.get('url') + '/api/config', url: nconf.get('url') + '/api/config',
json: true, json: true,
jar: jar jar: jar
}, function (err, response, body) { }, function (err, response, body) {
console.log('lel', body); assert.ifError(err);
done(); done();
}); });
}); });

Loading…
Cancel
Save