From 4a8b3dcd4c6da240d4dab9697205861c3179572c Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 16 Oct 2016 17:42:14 +0300 Subject: [PATCH] fix eslint errors --- .eslintrc.json | 2 ++ test/authentication.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ccbf4944a3..c16b47f396 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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", diff --git a/test/authentication.js b/test/authentication.js index c5d6e77586..aeedad1cbf 100644 --- a/test/authentication.js +++ b/test/authentication.js @@ -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(); }); });