-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(test): use connection strings for all calls to
newClient
We have been inconsistently testing our code for some time using a deprecated form of creating a `MongoClient` by passing in a topology to the constructor. Now we take the passed in variables and construct a connection string to connect to the server, just like users of the module would.
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters