Skip to content

Commit 576b684

Browse files
lint
1 parent e08bd1a commit 576b684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/api.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('wrapper API', () => {
2626
collection = new mongodbLegacy.Collection(db, 'pets', {});
2727
namespace = MongoDBNamespace.fromString('animals.pets');
2828

29-
client.connect().catch(_e => { });
29+
client.connect().catch(_e => {});
3030

3131
instance = makeInstance(
3232
{
@@ -221,7 +221,7 @@ function makeInstance({ client, db, namespace, collection }, className) {
221221
'GridFSBucketWriteStream',
222222
() => {
223223
const stream = new mongodbLegacy.GridFSBucket(db).openUploadStream('file');
224-
stream.on('error', () => { });
224+
stream.on('error', () => {});
225225
return stream;
226226
}
227227
],

0 commit comments

Comments
 (0)