common_bootstrap.js 202 B

12345
  1. // add support for mongoose in sinon
  2. require('sinon-mongoose')
  3. // ensure every ObjectId has the id string as a property for correct comparisons
  4. require('mongodb-legacy').ObjectId.cacheHexString = true