From ac8160c6505f9aaf752ed3909d2a27ea64baa057 Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Fri, 2 Aug 2019 00:57:22 +0800 Subject: [PATCH] refactor: fix lint on test/letter-avaters.js Signed-off-by: BoHong Li --- test/letter-avatars.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/letter-avatars.js b/test/letter-avatars.js index c0e967ef..24bc5a3a 100644 --- a/test/letter-avatars.js +++ b/test/letter-avatars.js @@ -9,7 +9,7 @@ describe('generateAvatarURL() gravatar enabled', function () { let avatars beforeEach(function () { // Reset config to make sure we don't influence other tests - let testconfig = { + const testconfig = { allowGravatar: true, serverURL: 'http://localhost:3000', port: 3000 @@ -32,7 +32,7 @@ describe('generateAvatarURL() gravatar disabled', function () { let avatars beforeEach(function () { // Reset config to make sure we don't influence other tests - let testconfig = { + const testconfig = { allowGravatar: false, serverURL: 'http://localhost:3000', port: 3000