Merge pull request #3830 from overleaf/em-upgrade-node-12
Upgrade to Node 12 GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
This commit is contained in:
@@ -61,9 +61,6 @@ describe('ProjectCreationHandler', function() {
|
||||
this.AnalyticsManager = { recordEvent: sinon.stub() }
|
||||
|
||||
this.handler = SandboxedModule.require(modulePath, {
|
||||
globals: {
|
||||
console: console
|
||||
},
|
||||
requires: {
|
||||
mongodb: { ObjectId },
|
||||
'../../models/User': {
|
||||
@@ -76,7 +73,6 @@ describe('ProjectCreationHandler', function() {
|
||||
'./ProjectDetailsHandler': this.ProjectDetailsHandler,
|
||||
'settings-sharelatex': this.Settings,
|
||||
'../Analytics/AnalyticsManager': this.AnalyticsManager,
|
||||
'logger-sharelatex': { log() {} },
|
||||
'@overleaf/metrics': {
|
||||
inc() {},
|
||||
timeAsyncMethod() {}
|
||||
|
||||
Reference in New Issue
Block a user