Skip to content

Commit 8a4cd70

Browse files
committed
fix tests
1 parent 7da5edf commit 8a4cd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function jestTestCluster(): () => { connectionString: string; getClient:
128128
connectionString: cluster.connectionString,
129129
getClient: () => {
130130
if (!client) {
131-
client = new MongoClient(cluster.connectionString);
131+
client = new MongoClient(cluster!.connectionString);
132132
}
133133

134134
return client;

0 commit comments

Comments
 (0)