mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 22:50:46 +02:00
[misc] back-fill stubbing of mongodb package in sandboxed-module imports (#3209)
* [misc] back-fill stubbing of mongodb package in sandboxed-module imports Unit tests are about 10 percent faster: 9m16s vs 10m8s. * [misc] stubs: app code should have access to the ObjectId only GitOrigin-RevId: 9a52186e190863c9463b3aeb98c3db68011926e4
This commit is contained in:
@@ -186,6 +186,7 @@ describe('ProjectEntityMongoUpdateHandler', function() {
|
||||
console: console
|
||||
},
|
||||
requires: {
|
||||
mongodb: { ObjectId },
|
||||
'logger-sharelatex': this.logger,
|
||||
'settings-sharelatex': this.Settings,
|
||||
'../Cooldown/CooldownManager': this.CooldownManager,
|
||||
|
||||
Reference in New Issue
Block a user