mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Upgrade metrics to @overleaf/metrics'
This commit is contained in:
@@ -23,6 +23,9 @@ const { ObjectId } = require('mongodb')
|
||||
|
||||
describe('HttpController', function () {
|
||||
beforeEach(function () {
|
||||
const settings = {
|
||||
max_doc_length: 2 * 1024 * 1024
|
||||
}
|
||||
this.HttpController = SandboxedModule.require(modulePath, {
|
||||
requires: {
|
||||
'./DocManager': (this.DocManager = {}),
|
||||
@@ -31,6 +34,7 @@ describe('HttpController', function () {
|
||||
log: sinon.stub(),
|
||||
error: sinon.stub()
|
||||
}),
|
||||
'settings-sharelatex': settings,
|
||||
'./HealthChecker': {}
|
||||
},
|
||||
globals: { process }
|
||||
|
||||
Reference in New Issue
Block a user