mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 06:09:02 +02:00
Switch to mongodb-legacy
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
This commit is contained in:
@@ -2,6 +2,7 @@ const Path = require('path')
|
||||
const SandboxedModule = require('sandboxed-module')
|
||||
const sinon = require('sinon')
|
||||
const { expect } = require('chai')
|
||||
const { ObjectId } = require('mongodb-legacy')
|
||||
|
||||
const MODULE_PATH = Path.join(
|
||||
__dirname,
|
||||
@@ -59,6 +60,7 @@ describe('SplitTestSessionHandler', function () {
|
||||
'./SplitTestCache': this.SplitTestCache,
|
||||
'./SplitTestUserGetter': this.SplitTestUserGetter,
|
||||
'@overleaf/metrics': this.Metrics,
|
||||
'mongodb-legacy': { ObjectId },
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user