mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
updated sandboxed-module and tests
This commit is contained in:
@@ -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 = {}),
|
||||
|
||||
Reference in New Issue
Block a user