mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 07:03:53 +00:00
Add missing 'process' global for settings tests
This commit is contained in:
parent
a3782422b7
commit
9807568de8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue