From 08e92b44e146e40cc23fcae4ba90cc25cf38c212 Mon Sep 17 00:00:00 2001 From: haad Date: Mon, 18 Nov 2019 14:59:48 +0200 Subject: [PATCH] Fix a loading test --- test/create-open.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/create-open.test.js b/test/create-open.test.js index 52a3de5..cbf85c9 100644 --- a/test/create-open.test.js +++ b/test/create-open.test.js @@ -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)