Switch to mongodb-legacy
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
This commit is contained in:
Vendored
+1
-1
@@ -23,7 +23,7 @@ chai.config.truncateThreshold = 0
|
||||
require('sinon-mongoose')
|
||||
|
||||
// ensure every ObjectId has the id string as a property for correct comparisons
|
||||
require('mongodb').ObjectId.cacheHexString = true
|
||||
require('mongodb-legacy').ObjectId.cacheHexString = true
|
||||
|
||||
/*
|
||||
* Global stubs
|
||||
|
||||
Reference in New Issue
Block a user