We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da5edf commit 8a4cd70Copy full SHA for 8a4cd70
tests/integration/helpers.ts
@@ -128,7 +128,7 @@ export function jestTestCluster(): () => { connectionString: string; getClient:
128
connectionString: cluster.connectionString,
129
getClient: () => {
130
if (!client) {
131
- client = new MongoClient(cluster.connectionString);
+ client = new MongoClient(cluster!.connectionString);
132
}
133
134
return client;
0 commit comments