-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 3.0.0
-
Component/s: None
docs say db should have a property named databaseName, but...
this test is failing:
import test from 'ava' import mongodb from 'mongodb' test('connect', async t => { const db = await mongodb.MongoClient.connect('mongodb://localhost/my-db') t.is(db.databaseName, 'my-db') })
am i misunderstanding the documentation?