From ff04085bddf763fdd4cf050a41d811e5e042fe54 Mon Sep 17 00:00:00 2001 From: decaffeinate Date: Mon, 16 Dec 2019 11:20:25 +0000 Subject: [PATCH] decaffeinate: Run post-processing cleanups on AWSSDKPersistorManagerTests.coffee and 12 other files --- .../test/unit/coffee/AWSSDKPersistorManagerTests.js | 8 ++++++++ .../filestore/test/unit/coffee/BucketControllerTests.js | 6 ++++++ .../filestore/test/unit/coffee/FSPersistorManagerTests.js | 7 +++++++ .../filestore/test/unit/coffee/FileControllerTests.js | 6 ++++++ services/filestore/test/unit/coffee/FileConverterTests.js | 7 +++++++ services/filestore/test/unit/coffee/FileHandlerTests.js | 7 +++++++ .../filestore/test/unit/coffee/ImageOptimiserTests.js | 7 +++++++ services/filestore/test/unit/coffee/KeybuilderTests.js | 6 ++++++ .../filestore/test/unit/coffee/LocalFileWriterTests.js | 7 +++++++ .../filestore/test/unit/coffee/PersistorManagerTests.js | 6 ++++++ .../filestore/test/unit/coffee/S3PersistorManagerTests.js | 7 +++++++ services/filestore/test/unit/coffee/SafeExecTests.js | 6 ++++++ services/filestore/test/unit/coffee/SettingsTests.js | 8 +++++++- 13 files changed, 87 insertions(+), 1 deletion(-) diff --git a/services/filestore/test/unit/coffee/AWSSDKPersistorManagerTests.js b/services/filestore/test/unit/coffee/AWSSDKPersistorManagerTests.js index cad0f4b805..da31ee399a 100644 --- a/services/filestore/test/unit/coffee/AWSSDKPersistorManagerTests.js +++ b/services/filestore/test/unit/coffee/AWSSDKPersistorManagerTests.js @@ -1,3 +1,11 @@ +/* eslint-disable + handle-callback-err, + no-dupe-keys, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/BucketControllerTests.js b/services/filestore/test/unit/coffee/BucketControllerTests.js index db0e6a5aa3..86db19da1b 100644 --- a/services/filestore/test/unit/coffee/BucketControllerTests.js +++ b/services/filestore/test/unit/coffee/BucketControllerTests.js @@ -1,3 +1,9 @@ +/* eslint-disable + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/FSPersistorManagerTests.js b/services/filestore/test/unit/coffee/FSPersistorManagerTests.js index cd73f41ac0..b3c2842b46 100644 --- a/services/filestore/test/unit/coffee/FSPersistorManagerTests.js +++ b/services/filestore/test/unit/coffee/FSPersistorManagerTests.js @@ -1,3 +1,10 @@ +/* eslint-disable + handle-callback-err, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/FileControllerTests.js b/services/filestore/test/unit/coffee/FileControllerTests.js index ea3b0e32b8..d60ca5fbd1 100644 --- a/services/filestore/test/unit/coffee/FileControllerTests.js +++ b/services/filestore/test/unit/coffee/FileControllerTests.js @@ -1,3 +1,9 @@ +/* eslint-disable + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/FileConverterTests.js b/services/filestore/test/unit/coffee/FileConverterTests.js index c546b61a15..96cb0ee53a 100644 --- a/services/filestore/test/unit/coffee/FileConverterTests.js +++ b/services/filestore/test/unit/coffee/FileConverterTests.js @@ -1,3 +1,10 @@ +/* eslint-disable + handle-callback-err, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/FileHandlerTests.js b/services/filestore/test/unit/coffee/FileHandlerTests.js index f83561166f..13c60f08da 100644 --- a/services/filestore/test/unit/coffee/FileHandlerTests.js +++ b/services/filestore/test/unit/coffee/FileHandlerTests.js @@ -1,3 +1,10 @@ +/* eslint-disable + handle-callback-err, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/ImageOptimiserTests.js b/services/filestore/test/unit/coffee/ImageOptimiserTests.js index 6074120a56..4e6cb858f4 100644 --- a/services/filestore/test/unit/coffee/ImageOptimiserTests.js +++ b/services/filestore/test/unit/coffee/ImageOptimiserTests.js @@ -1,3 +1,10 @@ +/* eslint-disable + handle-callback-err, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/KeybuilderTests.js b/services/filestore/test/unit/coffee/KeybuilderTests.js index 063a278f23..1e99899be7 100644 --- a/services/filestore/test/unit/coffee/KeybuilderTests.js +++ b/services/filestore/test/unit/coffee/KeybuilderTests.js @@ -1,3 +1,9 @@ +/* eslint-disable + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/LocalFileWriterTests.js b/services/filestore/test/unit/coffee/LocalFileWriterTests.js index ed3eb2dfa3..1bf131a3c4 100644 --- a/services/filestore/test/unit/coffee/LocalFileWriterTests.js +++ b/services/filestore/test/unit/coffee/LocalFileWriterTests.js @@ -1,3 +1,10 @@ +/* eslint-disable + handle-callback-err, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/PersistorManagerTests.js b/services/filestore/test/unit/coffee/PersistorManagerTests.js index d5b859448a..620d6f0083 100644 --- a/services/filestore/test/unit/coffee/PersistorManagerTests.js +++ b/services/filestore/test/unit/coffee/PersistorManagerTests.js @@ -1,3 +1,9 @@ +/* eslint-disable + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/S3PersistorManagerTests.js b/services/filestore/test/unit/coffee/S3PersistorManagerTests.js index 4396ce9606..a3a7d16825 100644 --- a/services/filestore/test/unit/coffee/S3PersistorManagerTests.js +++ b/services/filestore/test/unit/coffee/S3PersistorManagerTests.js @@ -1,3 +1,10 @@ +/* eslint-disable + handle-callback-err, + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/SafeExecTests.js b/services/filestore/test/unit/coffee/SafeExecTests.js index 4c462f887d..f9a0e51ca8 100644 --- a/services/filestore/test/unit/coffee/SafeExecTests.js +++ b/services/filestore/test/unit/coffee/SafeExecTests.js @@ -1,3 +1,9 @@ +/* eslint-disable + no-return-assign, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns diff --git a/services/filestore/test/unit/coffee/SettingsTests.js b/services/filestore/test/unit/coffee/SettingsTests.js index 5c1b79d70c..98d17723a9 100644 --- a/services/filestore/test/unit/coffee/SettingsTests.js +++ b/services/filestore/test/unit/coffee/SettingsTests.js @@ -1,3 +1,9 @@ +/* eslint-disable + camelcase, + no-unused-vars, +*/ +// TODO: This file was created by bulk-decaffeinate. +// Fix any style issues and re-enable lint. /* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns @@ -21,7 +27,7 @@ describe("Settings", () => describe("s3", () => it("should use JSONified env var auth_secret: 'bucket1_secret' } }; - process.env['S3_BUCKET_CREDENTIALS'] = JSON.stringify(s3_settings); + process.env.S3_BUCKET_CREDENTIALS = JSON.stringify(s3_settings); const settings = require("settings-sharelatex"); expect(settings.filestore.s3BucketCreds).to.deep.equal(s3_settings);