Skip to content

Commit 3b316e3

Browse files
lint
1 parent 9dbf31e commit 3b316e3

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

test/unit/api.test.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,14 @@ const OVERRIDDEN_CLASSES_GETTER = new Map([
3737
['Db', () => new mongodbLegacy.Db(client, 'animals')],
3838
['FindCursor', () => new mongodbLegacy.FindCursor(client, namespace)],
3939
['GridFSBucket', () => new mongodbLegacy.GridFSBucket(db)],
40-
['GridFSBucketWriteStream', () => {
41-
const stream = new mongodbLegacy.GridFSBucket(db).openUploadStream('file')
42-
stream.on('error', () => { });
43-
return stream;
44-
}],
40+
[
41+
'GridFSBucketWriteStream',
42+
() => {
43+
const stream = new mongodbLegacy.GridFSBucket(db).openUploadStream('file');
44+
stream.on('error', () => {});
45+
return stream;
46+
}
47+
],
4548
['ListCollectionsCursor', () => new mongodbLegacy.ListCollectionsCursor(db, {})],
4649
['ListIndexesCursor', () => new mongodbLegacy.ListIndexesCursor(collection)],
4750
['MongoClient', () => new mongodbLegacy.MongoClient(iLoveJs)],

0 commit comments

Comments
 (0)