mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Add missing 'process' global for settings tests
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user