Skip to content

Commit ec8930d

Browse files
committed
collection always exists
1 parent 428589a commit ec8930d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/node-specific/client_close.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ describe('MongoClient.close() Integration', () => {
479479
await client
480480
.db('db')
481481
.collection('collection')
482-
?.drop()
482+
.drop()
483483
.catch(() => null);
484484
const collection = await client.db('db').createCollection('collection');
485485
session = client.startSession({ explicit: false });

0 commit comments

Comments
 (0)