chore: Lint fix.

This commit is contained in:
Hayden Young
2023-11-09 18:06:42 +00:00
parent 1c3b99c605
commit 04e9e8d7e4
2 changed files with 1 additions and 6 deletions

View File

@@ -2,7 +2,6 @@ import { strictEqual, deepStrictEqual, notStrictEqual } from 'assert'
import { rimraf } from 'rimraf'
import OrbitDB from '../src/orbitdb.js'
import { IPFSAccessController, OrbitDBAccessController, useAccessController, getAccessController } from '../src/access-controllers/index.js'
import config from './config.js'
import pathJoin from '../src/utils/path-join.js'
import createHelia from './utils/create-helia.js'
@@ -25,7 +24,6 @@ describe('Add a custom access controller', function () {
let orbitdb
before(async () => {
// ipfs = await IPFS.create({ ...config.daemon1, repo: './ipfs1' })
ipfs = await createHelia()
orbitdb = await OrbitDB({ ipfs })
})
@@ -39,9 +37,6 @@ describe('Add a custom access controller', function () {
await ipfs.stop()
}
// Remove the added custom database type from OrbitDB import
removeAccessController(type)
await rimraf('./orbitdb')
await rimraf('./ipfs1')
})