mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Fix a loading test
This commit is contained in:
parent
71d49d29c5
commit
08e92b44e1
@ -153,7 +153,7 @@ Object.keys(testAPIs).forEach(API => {
|
|||||||
it('loads cache from previous version of orbit-db', async () => {
|
it('loads cache from previous version of orbit-db', async () => {
|
||||||
const dbName = 'cache-schema-test'
|
const dbName = 'cache-schema-test'
|
||||||
|
|
||||||
db = await orbitdb.create(dbName, 'keyvalue')
|
db = await orbitdb.create(dbName, 'keyvalue', { overwrite: true })
|
||||||
const manifestHash = db.address.root
|
const manifestHash = db.address.root
|
||||||
const migrationDataPath = path.join(dbPath, manifestHash, dbName)
|
const migrationDataPath = path.join(dbPath, manifestHash, dbName)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user