mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #99 from overleaf/bg-update-npm-packages
run npm update
This commit is contained in:
Generated
+1821
-1323
File diff suppressed because it is too large
Load Diff
@@ -22,7 +22,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@overleaf/o-error": "^2.1.0",
|
"@overleaf/o-error": "^2.1.0",
|
||||||
"async": "~0.2.10",
|
"async": "~0.2.10",
|
||||||
"aws-sdk": "^2.1.39",
|
"aws-sdk": "^2.628.0",
|
||||||
"body-parser": "^1.2.0",
|
"body-parser": "^1.2.0",
|
||||||
"express": "^4.2.0",
|
"express": "^4.2.0",
|
||||||
"fs-extra": "^1.0.0",
|
"fs-extra": "^1.0.0",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
const chai = require('chai')
|
const chai = require('chai')
|
||||||
const { expect } = chai
|
const { expect } = chai
|
||||||
|
const SandboxedModule = require('sandboxed-module')
|
||||||
|
|
||||||
describe('Settings', function() {
|
describe('Settings', function() {
|
||||||
describe('s3', function() {
|
describe('s3', function() {
|
||||||
@@ -11,8 +12,9 @@ describe('Settings', function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
process.env.S3_BUCKET_CREDENTIALS = JSON.stringify(s3Settings)
|
process.env.S3_BUCKET_CREDENTIALS = JSON.stringify(s3Settings)
|
||||||
|
const settings = SandboxedModule.require('settings-sharelatex', {
|
||||||
const settings = require('settings-sharelatex')
|
globals: { console }
|
||||||
|
})
|
||||||
expect(settings.filestore.s3BucketCreds).to.deep.equal(s3Settings)
|
expect(settings.filestore.s3BucketCreds).to.deep.equal(s3Settings)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user