mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
chore: Fix lint issues.
This commit is contained in:
parent
858c66fe86
commit
954767e50f
@ -56,15 +56,15 @@ describe('Add a custom database type', function () {
|
||||
strictEqual(err.message, 'Unsupported database type: \'custom!\'')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
describe('KeyValue Indexed database type', function () {
|
||||
it('replace keyvalue with keyvalue-indexed', async () => {
|
||||
useDatabaseType(KeyValueIndexed)
|
||||
const name = 'hello keyvalue-indexed database'
|
||||
const db = await orbitdb.open(name, { type: 'keyvalue' })
|
||||
|
||||
|
||||
const indexDirectory = pathJoin('./orbitdb', `./${db.address}/_index/`)
|
||||
|
||||
|
||||
strictEqual(await existsSync(indexDirectory), true)
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user