Switch to mongodb-legacy

GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
This commit is contained in:
andrew rumble
2024-08-21 08:04:24 +00:00
committed by Copybot
parent 04b46fa5ff
commit 032deaf05c
113 changed files with 156 additions and 129 deletions
+1 -1
View File
@@ -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