mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-06-04 21:26:37 +00:00
Use /tmp dir for ipfs daemon in tests
This commit is contained in:
parent
38cbb4a284
commit
6606ced53d
@ -22,10 +22,9 @@ IpfsApis.forEach(function(ipfsApi) {
|
||||
|
||||
let client, client2, db
|
||||
let channel = 'abcdefghijklmn'
|
||||
const cacheFile = path.join(process.cwd(), '/test', 'orbit-db-test-cache.json')
|
||||
|
||||
before(function (done) {
|
||||
ipfsApi.start()
|
||||
ipfsApi.start({ IpfsDataDir: '/tmp/orbit-db-tests' })
|
||||
.then((res) => {
|
||||
ipfs = res
|
||||
client = new OrbitDB(ipfs, username)
|
||||
|
Loading…
x
Reference in New Issue
Block a user