X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Flib%2Fauthenticator.js;fp=test%2Flib%2Fauthenticator.js;h=71420810f3e878edc841c7c243976fc19e24b677;hb=9c8e775e5ab96a1788f535760bfa72205c430d15;hp=341bc9bfb52d8bc16df7e3d7bab5ab9937a9b4ce;hpb=786f4aa122c3c3a1c1c8224abacd12d0ca079cd0;p=squeep-authentication-module diff --git a/test/lib/authenticator.js b/test/lib/authenticator.js index 341bc9b..7142081 100644 --- a/test/lib/authenticator.js +++ b/test/lib/authenticator.js @@ -1,8 +1,10 @@ /* eslint-env mocha */ +/* eslint-disable sonarjs/no-duplicate-string */ +/* eslint-disable jsdoc/require-jsdoc */ 'use strict'; const assert = require('assert'); -const sinon = require('sinon'); // eslint-disable-line node/no-unpublished-require +const sinon = require('sinon'); const Authenticator = require('../../lib/authenticator'); const stubLogger = require('../stub-logger'); const stubDb = require('../stub-db'); @@ -73,7 +75,7 @@ describe('Authenticator', function () { assert.deepStrictEqual(e, expected); assert(authenticator.db.authenticationUpsert.called); assert(authenticator.logger.error.called); - } + } }); }); // createIdentifier