mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-27 17:00:06 +02:00
5 lines
202 B
JavaScript
5 lines
202 B
JavaScript
// add support for mongoose in sinon
|
|
require('sinon-mongoose')
|
|
|
|
// ensure every ObjectId has the id string as a property for correct comparisons
|
|
require('mongodb-legacy').ObjectId.cacheHexString = true
|