mongo-mock
mongo-mock copied to clipboard
MongoClient.connect: url without database defaults to admin db
In the current mongo-mock version, specifying a connect url without any database throws an error.
The mongo documentation says it should default to admin db: https://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html#basic-parts-of-the-url
Is this closed?
Is this closed?
Nah, I might just update the pull request myself