refactor: Upgrade to mongodb 6.10.0 (#9362)

This commit is contained in:
Antoine Cormouls
2024-10-23 21:27:42 +02:00
committed by GitHub
parent 3a9442a42f
commit 7d8603f1c2
5 changed files with 248 additions and 405 deletions

View File

@@ -23,10 +23,7 @@ const profileLevel = 2;
describe_only_db('mongo')('Parse.Query with comment testing', () => {
beforeAll(async () => {
config = Config.get('test');
client = await MongoClient.connect(databaseURI, {
useNewUrlParser: true,
useUnifiedTopology: true,
});
client = await MongoClient.connect(databaseURI);
database = client.db('parseServerMongoAdapterTestDatabase');
let profiler = await database.command({ profile: 0 });
expect(profiler.was).toEqual(0);