mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[filestore] convert to ES modules GitOrigin-RevId: 404905973548bb6e437fff66b368e87be8249b73
9 lines
247 B
JavaScript
9 lines
247 B
JavaScript
import chai from 'chai'
|
|
import mongodb from 'mongodb'
|
|
import chaiAsPromised from 'chai-as-promised'
|
|
|
|
chai.use(chaiAsPromised)
|
|
|
|
// ensure every ObjectId has the id string as a property for correct comparisons
|
|
mongodb.ObjectId.cacheHexString = true
|