From 9807568de84cdf0af1a062c315a691d81df14244 Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Wed, 4 Mar 2020 10:08:31 +0000 Subject: [PATCH] Add missing 'process' global for settings tests --- services/filestore/test/unit/js/SettingsTests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/filestore/test/unit/js/SettingsTests.js b/services/filestore/test/unit/js/SettingsTests.js index 91981c7de8..84c3361eab 100644 --- a/services/filestore/test/unit/js/SettingsTests.js +++ b/services/filestore/test/unit/js/SettingsTests.js @@ -13,7 +13,7 @@ describe('Settings', function() { } process.env.S3_BUCKET_CREDENTIALS = JSON.stringify(s3Settings) const settings = SandboxedModule.require('settings-sharelatex', { - globals: { console } + globals: { console, process } }) expect(settings.filestore.s3BucketCreds).to.deep.equal(s3Settings) })