Merge pull request #3830 from overleaf/em-upgrade-node-12

Upgrade to Node 12

GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
This commit is contained in:
Eric Mc Sween
2021-03-31 08:20:55 -04:00
committed by Copybot
parent c2f16621db
commit 9ddaa8c9f6
176 changed files with 695 additions and 1555 deletions

View File

@@ -18,13 +18,10 @@ describe('BetaProgramHandler', function() {
save: sinon.stub().callsArgWith(0, null)
}
this.handler = SandboxedModule.require(modulePath, {
globals: {
console: console
},
requires: {
'@overleaf/metrics': (this.logger = {
'@overleaf/metrics': {
inc: sinon.stub()
}),
},
'../User/UserUpdater': (this.UserUpdater = {
promises: {
updateUser: sinon.stub().resolves()