diff --git a/test/create-type.test.js b/test/create-type.test.js index 4791b1a..1bbdd4e 100644 --- a/test/create-type.test.js +++ b/test/create-type.test.js @@ -53,7 +53,7 @@ Object.keys(testAPIs).forEach(API => { describe('addDatabaseType', function () { it('should have the correct custom type', async () => { OrbitDB.addDatabaseType(CustomStore.type, CustomStore) - let store = await orbitdb.create(dbPath, CustomStore.type) + let store = await orbitdb.create(dbPath.replace(/^\.\//, ''), CustomStore.type) assert.equal(store._type, CustomStore.type) })