mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Stringify PeerIDs
This commit is contained in:
parent
d9ac2feeef
commit
97f6c81728
@ -90,7 +90,7 @@ Object.keys(testAPIs).forEach(API => {
|
||||
it('has IPFS instance', async () => {
|
||||
const peerId1 = await accessController._ipfs.id()
|
||||
const peerId2 = await ipfs1.id()
|
||||
assert.strictEqual(peerId1.id, peerId2.id)
|
||||
assert.strictEqual(String(peerId1.id), String(peerId2.id))
|
||||
})
|
||||
|
||||
it('sets default capabilities', async () => {
|
||||
|
@ -93,7 +93,7 @@ Object.keys(testAPIs).forEach(API => {
|
||||
it('has IPFS instance', async () => {
|
||||
const peerId1 = await accessController._orbitdb._ipfs.id()
|
||||
const peerId2 = await ipfs1.id()
|
||||
assert.strictEqual(peerId1.id, peerId2.id)
|
||||
assert.strictEqual(String(peerId1.id), String(peerId2.id))
|
||||
})
|
||||
|
||||
it('sets default capabilities', async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user