mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
fix: Remove testing event handlers.
This commit is contained in:
parent
58769c4d15
commit
30fbeb4243
@ -31,18 +31,6 @@ describe('Documents Database Replication', function () {
|
||||
|
||||
before(async () => {
|
||||
[ipfs1, ipfs2] = await Promise.all([createHelia(), createHelia()])
|
||||
|
||||
ipfs1.libp2p.addEventListener('peer:connect', (event) => {
|
||||
console.log(event.detail.toString())
|
||||
})
|
||||
|
||||
ipfs2.libp2p.addEventListener('peer:connect', (event) => {
|
||||
console.log(event.detail.toString())
|
||||
})
|
||||
|
||||
console.log(ipfs1.libp2p.peerId.toString())
|
||||
console.log(ipfs2.libp2p.peerId.toString())
|
||||
|
||||
await connectPeers(ipfs1, ipfs2)
|
||||
|
||||
await copy(testKeysPath, keysPath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user