mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #3830 from overleaf/em-upgrade-node-12
Upgrade to Node 12 GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
This commit is contained in:
@@ -62,12 +62,6 @@ describe('ProjectEntityMongoUpdateHandler', function() {
|
||||
rootFolder: [this.rootFolder]
|
||||
}
|
||||
|
||||
this.logger = {
|
||||
log: sinon.stub(),
|
||||
warn: sinon.stub(),
|
||||
error: sinon.stub(),
|
||||
err() {}
|
||||
}
|
||||
this.Settings = { maxEntitiesPerProject: 100 }
|
||||
this.CooldownManager = {}
|
||||
this.LockManager = {
|
||||
@@ -184,12 +178,8 @@ describe('ProjectEntityMongoUpdateHandler', function() {
|
||||
}
|
||||
|
||||
this.subject = SandboxedModule.require(MODULE_PATH, {
|
||||
globals: {
|
||||
console: console
|
||||
},
|
||||
requires: {
|
||||
mongodb: { ObjectId },
|
||||
'logger-sharelatex': this.logger,
|
||||
'settings-sharelatex': this.Settings,
|
||||
'../Cooldown/CooldownManager': this.CooldownManager,
|
||||
'../../models/Folder': { Folder: this.FolderModel },
|
||||
|
||||
Reference in New Issue
Block a user