mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Global test setup
Configure chai and SandboxedModule globally with options used in many tests. That required upgrading mocha and SandboxedModule.
This commit is contained in:
@@ -12,7 +12,6 @@ describe('HttpController', function () {
|
||||
flushProjectChangesAsync: sinon.stub()
|
||||
}),
|
||||
'./ProjectManager': (this.ProjectManager = {}),
|
||||
'logger-sharelatex': (this.logger = { log: sinon.stub() }),
|
||||
'./ProjectFlusher': { flushAllProjects() {} },
|
||||
'./DeleteQueueManager': (this.DeleteQueueManager = {}),
|
||||
'./Metrics': (this.Metrics = {}),
|
||||
|
||||
Reference in New Issue
Block a user