updated sandboxed-module and tests

This commit is contained in:
mserranom
2020-03-23 11:34:57 +01:00
parent cd0e7b3afd
commit 87737a403d
5 changed files with 8 additions and 13 deletions
@@ -19,6 +19,7 @@ const SandboxedModule = require('sandboxed-module')
describe('HttpController', function() {
beforeEach(function() {
this.HttpController = SandboxedModule.require(modulePath, {
singleOnly: true,
requires: {
'logger-sharelatex': { log: sinon.stub() },
'./UpdatesManager': (this.UpdatesManager = {}),