2
0
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:
haad 2019-11-18 14:59:48 +02:00 committed by shamb0t
parent 71d49d29c5
commit 08e92b44e1

@ -153,7 +153,7 @@ Object.keys(testAPIs).forEach(API => {
it('loads cache from previous version of orbit-db', async () => {
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 migrationDataPath = path.join(dbPath, manifestHash, dbName)